Class: SynchronizationsController

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

Instance Method Summary collapse

Instance Method Details

#indexObject



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