Skip to content

Commit

Permalink
send the helpers to the app
Browse files Browse the repository at this point in the history
  • Loading branch information
mjankowski committed Sep 2, 2011
1 parent 120592a commit 0fe0127
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion flutie.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = 'flutie'
s.version = '1.2.3'
s.version = '1.2.4'
s.date = %q{2011-09-02}
s.email = 'support@thoughtbot.com'
s.homepage = 'http://github.com/thoughtbot/flutie'
Expand Down
6 changes: 6 additions & 0 deletions lib/flutie/engine.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
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

0 comments on commit 0fe0127

Please sign in to comment.