Class: Lato::OperationsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/lato/operations_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#index

Methods included from Componentable

#lato_index_collection

Methods included from Layoutable

#active_navbar, #active_sidebar, #hide_sidebar, #show_sidebar

Methods included from Sessionable

#authenticate_session, #not_authenticate_session, #session_create, #session_destroy

Instance Method Details

#showObject



5
6
7
8
# File 'app/controllers/lato/operations_controller.rb', line 5

def show
  @operation = Lato::Operation.find(params[:id])
  return unless validate_user_access_to_operation
end