lib/goldencobra/engine.rb in goldencobra-1.0.9.3 vs lib/goldencobra/engine.rb in goldencobra-1.1.0
- old
+ new
@@ -32,9 +32,10 @@
# #Pull in all the migrations from goldencobra to the application
# config.paths['db/migrate'] += Goldencobra::Engine.paths['db/migrate'].existent
#end
end
config.to_prepare do
+ #ActionController::Base.send :include, Goldencobra::ArticlesController
ApplicationController.helper(Goldencobra::ApplicationHelper)
ActionController::Base.helper(Goldencobra::ApplicationHelper)
DeviseController.helper(Goldencobra::ApplicationHelper)
Devise::SessionsController.helper(Goldencobra::ApplicationHelper)
Devise::PasswordsController.helper(Goldencobra::ApplicationHelper)