Sha256: 0af05698b6bfe2741c9984284969e50095493ffc380654628741f0d05f081dc1

Contents?: true

Size: 357 Bytes

Versions: 4

Compression:

Stored size: 357 Bytes

Contents

require 'snaptable/helpers/table'

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

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
snaptable-0.8.6 lib/snaptable/engine.rb
snaptable-0.8.5 lib/snaptable/engine.rb
snaptable-0.8.4 lib/snaptable/engine.rb
snaptable-0.8.3 lib/snaptable/engine.rb