Class: Admin::OperationsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/admin/operations_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



3
4
5
6
7
8
9
10
# File 'app/controllers/admin/operations_controller.rb', line 3

def index
  @operations = Operations.operations_list
  @permissions = []
  respond_to do |format|
    format.html
    format.json { render json: @operations, except: [:uuid] }
  end
end