12345678910111213141516171819202122232425262728293031 |
- class TicketPrioritiesController < ApplicationController
- prepend_before_action :authenticate_and_authorize!
-
- def index
- model_index_render(Ticket::Priority, params)
- end
-
- def show
- model_show_render(Ticket::Priority, params)
- end
-
- def create
- model_create_render(Ticket::Priority, params)
- end
-
- def update
- model_update_render(Ticket::Priority, params)
- end
-
- def destroy
- model_references_check(Ticket::Priority, params)
- model_destroy_render(Ticket::Priority, params)
- end
- end
|