Sha256: fa9e7c67d9fc1ff8ba48782ad30ffc83c4cf4a65e41d291f0f7c70a0afc1e43b

Contents?: true

Size: 271 Bytes

Versions: 7

Compression:

Stored size: 271 Bytes

Contents

module Flutie

  class Engine < Rails::Engine
    initializer 'page_title.helper' do |app|
      ActionView::Base.send :include, PageTitleHelper
    end
    initializer 'body_class.helper' do |app|
      ActionView::Base.send :include, BodyClassHelper
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
flutie-1.3.4 lib/flutie/engine.rb
flutie-1.3.3 lib/flutie/engine.rb
flutie-1.3.2 lib/flutie/engine.rb
flutie-1.3.1 lib/flutie/engine.rb
flutie-1.3.0 lib/flutie/engine.rb
flutie-1.2.5 lib/flutie/engine.rb
flutie-1.2.4 lib/flutie/engine.rb