Sha256: 8dd3cd9bedb0fa04f4c871b5081b5cf033479d40329aef50047d320e0608b681

Contents?: true

Size: 447 Bytes

Versions: 1

Compression:

Stored size: 447 Bytes

Contents

module ResourcesController
  class Base < Rails::AddOns::Configuration.resources_controller_base_class_name.constantize
    layout 'rails/add_ons/application'

    include RestActions
    include Resources
    include RestResourceUrls
    include ResourceInflections
    include LocationHistory
    include ::Controller::QueryConditions

    private

    def load_collection_scope
      add_conditions_from_query(resource_class)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-add_ons-3.0.0.pre1 app/controllers/resources_controller/base.rb