Sha256: ddb78c2be8cc1f6a8e2a1315482c2397a81eea7dccd90e64e6cc5089f99734a5

Contents?: true

Size: 232 Bytes

Versions: 33

Compression:

Stored size: 232 Bytes

Contents

# lib/my_gem/railtie.rb
require 'table_sortable/view_helpers'
module TableSortable
  class Railtie < Rails::Railtie
    initializer 'table_sortable.view_helpers' do
      ActionView::Base.send :include, ViewHelpers
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
table_sortable-1.0.0.pre.alpha.21 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.20 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.19 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.18 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.17 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.16 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.15 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.14 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.13 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.12 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.11 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.10 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.9 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.8 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.7 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.6 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.5 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.4 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.3 lib/table_sortable/railtie.rb
table_sortable-1.0.0.pre.alpha.2 lib/table_sortable/railtie.rb