Britton Nielsen wrote:
> I believe I have setup and configured both the login and user engines 
> correctly, yet when I run the user_controller.rb functional test in 
> either engine I get the following...
> 
> C:/rails/login_user_test/vendor/plugins/user_engine/app/controllers/user_control
> ler.rb:41: undefined method `edit' for class `UserController' 
> (NameError)


This error indicates you are trying to load user_engine before 
login_engine.  user_engine tries to setup an alias for the edit action 
and it errors when that action hasn't been loaded yet.  Make sure your 
config/environment.rb has:

Engines.start :login, :user

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
engine-users mailing list
[EMAIL PROTECTED]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to