Hi I'm working on the AWDWR book and I'm on the admin section of the book. I have rails 2 installed on my machine and I have ran into an error when I created my controller login but when I go to http://localhost:3000/login/index I get this error:
No route matches "/login/index" with {:method=>:get}
I haven't touched the routes.rb file and when I generated the controller I went:
ruby script/generate controller Login add_user login logout index delete_user list_users
The controller and views files were created correctly. Any help would be awesome.
Thanks, Tony