Class: SynchronizationsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
lib/generators/connector/templates/synchronizations_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



3
4
5
6
# File 'lib/generators/connector/templates/synchronizations_controller.rb', line 3

def index
  return unless current_organization
  @synchronizations = Maestrano::Connector::Rails::Synchronization.where(organization_id: current_organization.id).order(updated_at: :desc).limit(40)
end