Sha256: 021a7190a453f918d94596104580ebf08a7fb6c36cc2d088b7cabec81ac7259c

Contents?: true

Size: 428 Bytes

Versions: 19

Compression:

Stored size: 428 Bytes

Contents

require 'snaptable/helpers/table_helper'
require 'snaptable/helpers/buttons_helper'

module Snaptable
  class Engine < ::Rails::Engine
    require 'will_paginate'
    require 'jquery-rails'

    initializer 'Snaptable.tables' do
      ActionController::Base.send :include, Helpers::TableHelper
    end

    initializer 'Snaptable.buttons_helper' do
      ActionView::Base.send :include, Helpers::ButtonsHelper
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
snaptable-2.2.4 lib/snaptable/engine.rb
snaptable-2.2.3 lib/snaptable/engine.rb
snaptable-2.2.2 lib/snaptable/engine.rb
snaptable-2.2.1 lib/snaptable/engine.rb
snaptable-2.2.0 lib/snaptable/engine.rb
snaptable-2.1.0 lib/snaptable/engine.rb
snaptable-2.0.5 lib/snaptable/engine.rb
snaptable-2.0.4 lib/snaptable/engine.rb
snaptable-2.0.2 lib/snaptable/engine.rb
snaptable-2.0.1 lib/snaptable/engine.rb
snaptable-2.0 lib/snaptable/engine.rb
snaptable-1.2.0 lib/snaptable/engine.rb
snaptable-1.1.3 lib/snaptable/engine.rb
snaptable-1.1.2 lib/snaptable/engine.rb
snaptable-1.1.1 lib/snaptable/engine.rb
snaptable-1.1.0 lib/snaptable/engine.rb
snaptable-1.0.0 lib/snaptable/engine.rb
snaptable-0.9.3 lib/snaptable/engine.rb
snaptable-0.9.2 lib/snaptable/engine.rb