Skip to content

Commit

Permalink
Merge pull request #148 from jesenko/register-helpers
Browse files Browse the repository at this point in the history
explicitly register helper, fixes #147
  • Loading branch information
rwz committed Apr 14, 2015
2 parents 1ea97a1 + 692418d commit 8cc52b3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/ember-cli/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,11 @@ class Engine < Rails::Engine
initializer "ember-cli-rails.enable" do
EmberCLI.enable! unless EmberCLI.skip?
end

initializer "ember-cli-rails.helpers" do
config.to_prepare do
ActionController::Base.helper EmberRailsHelper
end
end
end
end

0 comments on commit 8cc52b3

Please sign in to comment.