Sha256: 57459c3f30c62916f1e776f016fb93fdaa31b797374b2e51e4f2da4fc2d4b7da

Contents?: true

Size: 629 Bytes

Versions: 3

Compression:

Stored size: 629 Bytes

Contents

module PaginatedTable
  class Railtie < Rails::Railtie
    initializer "paginated_table" do |app|
      ActiveSupport.on_load(:action_view) do
        require 'paginated_table/view_helpers'
        require 'paginated_table/table_description'
        require 'paginated_table/row_description'
        require 'paginated_table/column_description'
        require 'paginated_table/table_renderer'
        require 'paginated_table/link_renderer'
      end
      ActiveSupport.on_load :action_controller do
        require 'paginated_table/controller_helpers'
        require 'paginated_table/page_params'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
paginated_table-0.0.9 lib/paginated_table/railtie.rb
paginated_table-0.0.8 lib/paginated_table/railtie.rb
paginated_table-0.0.7 lib/paginated_table/railtie.rb