Sha256: cd77ac16749ad419f0aa0a75965276e7e617e2772f5435faf9842d3889961552

Contents?: true

Size: 192 Bytes

Versions: 12

Compression:

Stored size: 192 Bytes

Contents

require 'snaptable/helpers/table'

module Snaptable
  class Railtie < Rails::Railtie
    initializer 'Snaptable.tables' do
      ActionController::Base.send :include, Helpers
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
snaptable-0.6.4 lib/snaptable/railtie.rb
snaptable-0.6.3 lib/snaptable/railtie.rb
snaptable-0.6.1 lib/snaptable/railtie.rb
snaptable-0.6.0 lib/snaptable/railtie.rb
snaptable-0.5.1 lib/snaptable/railtie.rb
snaptable-0.5.0 lib/snaptable/railtie.rb
snaptable-0.4.2 lib/snaptable/railtie.rb
snaptable-0.4.1 lib/snaptable/railtie.rb
snaptable-0.4.0 lib/snaptable/railtie.rb
snaptable-0.3.0 lib/snaptable/railtie.rb
snaptable-0.2.1 lib/snaptable/railtie.rb
snaptable-0.2.0 lib/snaptable/railtie.rb