Sha256: b564e8d9a4e48649cf2facc0255f81bba2c6c02d0c9898b1257bc784ce458e80

Contents?: true

Size: 655 Bytes

Versions: 10

Compression:

Stored size: 655 Bytes

Contents

require 'hashbrowns/helpers/display_helpers'
require 'hashbrowns/helpers/overview_helpers'
require 'hashbrowns/helpers/links_helpers'
require 'hashbrowns/helpers/relations_helpers'
require 'hashbrowns/helpers/renderer_helpers'
module HashBrowns
  class Railtie < Rails::Engine
    initializer "hashbrowns.view_helpers" do
      ActionView::Base.send :include, DisplayHelpers
      ActionView::Base.send :include, OverviewHelpers
      ActionView::Base.send :include, LinksHelpers
      ActionView::Base.send :include, RelationsHelpers
      ActionView::Base.send :include, RendererHelpers
    end
    paths["app/views"] = "lib/hashbrowns/views"
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
hashbrowns-0.2.5 lib/hashbrowns/railtie.rb
hashbrowns-0.2.4 lib/hashbrowns/railtie.rb
hashbrowns-0.2.3 lib/hashbrowns/railtie.rb
hashbrowns-0.2.2 lib/hashbrowns/railtie.rb
hashbrowns-0.2.1 lib/hashbrowns/railtie.rb
hashbrowns-0.2.0 lib/hashbrowns/railtie.rb
hashbrowns-0.1.6 lib/hashbrowns/railtie.rb
hashbrowns-0.1.5 lib/hashbrowns/railtie.rb
hashbrowns-0.1.4 lib/hashbrowns/railtie.rb
hashbrowns-0.1.3 lib/hashbrowns/railtie.rb