Tuesday, November 3, 2009

Helpers in Rails Engines

One more info for using Rails Engines. Helpers are not included automatically. You need to place

config.to_prepare do
ApplicationController.helper(MyEngineHelper)
end

in init.rb of your plugin

No comments: