Sha256: 9c6decf0063bfc3f22fd6b8335bc090537b9fc31c866df5e654aed14b6108449

Contents?: true

Size: 556 Bytes

Versions: 12

Compression:

Stored size: 556 Bytes

Contents

module SmartTable

  class Engine < ::Rails::Engine

    # This makes models, controllers and routes defined on this gem to be all
    # scoped under SmartTable::
    # Ref: http://edgeguides.rubyonrails.org/engines.html
    isolate_namespace SmartTable

    # This automatically includes smart_table methods on all controllers
    initializer 'smart_table.action_controller' do |app|
      ActiveSupport.on_load :action_controller do
        include SmartTable::SmartTableConcern
        helper SmartTable::SmartTableHelper
      end
    end

  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
smart_table-0.0.12 ./lib/smart_table/engine.rb
smart_table-0.0.11 ./lib/smart_table/engine.rb
smart_table-0.0.10 ./lib/smart_table/engine.rb
smart_table-0.0.9 ./lib/smart_table/engine.rb
smart_table-0.0.8 ./lib/smart_table/engine.rb
smart_table-0.0.7 ./lib/smart_table/engine.rb
smart_table-0.0.6 ./lib/smart_table/engine.rb
smart_table-0.0.5 ./lib/smart_table/engine.rb
smart_table-0.0.4 ./lib/smart_table/engine.rb
smart_table-0.0.3 ./lib/smart_table/engine.rb
smart_table-0.0.2 ./lib/smart_table/engine.rb
smart_table-0.0.1 ./lib/smart_table/engine.rb