Sha256: 129789f4d4a36d424b8ffe8b7f6c6883dbc0a16c25903d243916f7f3b63e5b74

Contents?: true

Size: 286 Bytes

Versions: 15

Compression:

Stored size: 286 Bytes

Contents

# What is a railtie?
# tl;dr => Allows us to hook into Rails add add stuff to it
# http://www.rorexperts.com/what-is-railtie-t1898.html

module Navi
  class Railtie < Rails::Railtie
    initializer "navi.helpers" do
      ActionView::Base.send :include, Navi::Helpers
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
navi-0.2.1 lib/navi/railtie.rb
navi-0.2.0 lib/navi/railtie.rb
navi-0.1.4 lib/navi/railtie.rb
navi-0.1.3 lib/navi/railtie.rb
navi-0.0.17 lib/navi/railtie.rb
navi-0.0.16 lib/navi/railtie.rb
navi-0.0.15 lib/navi/railtie.rb
navi-0.0.14 lib/navi/railtie.rb
navi-0.0.13 lib/navi/railtie.rb
navi-0.0.12 lib/navi/railtie.rb
navi-0.0.11 lib/navi/railtie.rb
navi-0.0.10 lib/navi/railtie.rb
navi-0.0.9 lib/navi/railtie.rb
navi-0.0.6 lib/navi/railtie.rb
navi-0.0.2 lib/navi/railtie.rb