Sha256: 177a81912392d8b699738a5086a74a4ae775873e1d0923c58bbca5f042d10a9b

Contents?: true

Size: 268 Bytes

Versions: 40

Compression:

Stored size: 268 Bytes

Contents

class SynchronizationsController < ApplicationController
  def index
    if current_organization
      @synchronizations = Maestrano::Connector::Rails::Synchronization.where(organization_id: current_organization.id).order(updated_at: :desc).limit(40)
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
maestrano-connector-rails-1.3.4 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.3.3 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.3.2 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.3.1 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.3.0 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.2.3 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.2.2 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.2.1 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.2.0 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.1.2 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.1.1 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.1.0 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.0.4 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.0.3 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.0.2 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.0.1 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-1.0.0 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-0.4.4 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-0.4.3 lib/generators/connector/templates/synchronizations_controller.rb
maestrano-connector-rails-0.4.2 lib/generators/connector/templates/synchronizations_controller.rb