on 2006-02-19 20:26
on 2006-02-19 20:55
> Do I need to add a :controller => 'user' to the :url line somehow? (If > so, I'm doing it wrong because that dosn't work either). How does rails > interpret this? Hello. If no controller specified Rails thinks that it should use current controller. So, you have to specify your controller to access it from any other place.
on 2006-02-19 22:16
This is what I thought, however when I specify to use the 'user' controller I get an error.
on 2006-02-19 22:34
In fact, If I specify the controller to be "application" I will be directed to the login page. And if I navigate to localhost:3000/user/login I am shown the login page, however when I generate a link with :controller set to 'user' I only get a NoMethodError return.