Class: SynchronizationsController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- SynchronizationsController
- Defined in:
- lib/generators/connector/templates/synchronizations_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
2 3 4 5 6 |
# File 'lib/generators/connector/templates/synchronizations_controller.rb', line 2 def index if current_organization @synchronizations = Maestrano::Connector::Rails::Synchronization.where(organization_id: current_organization.id).order(updated_at: :desc).limit(40) end end |