I am on Chapter 4 of RailsSpace and I have hit a problem when it comes
to linking in the document.
To start with in an earlier chapter I created a page called site.rhtml
which used these attributes:
<%= link_to_unless_current "Home", :action => "index" %> |
<%= link_to_unless_current "About Us", :action => "about" %> |
<%= link_to_unless_current "Help", :action => "help" %>
This is in the site class that was created (localhost:3000/site/index)
All these links work a treat - basic i know, but all work in progress.
NOw on Chapter 4, it's time to create a page to register users.
I have a page now (localhost:3000/user/register)
However, for some reason, the links no longer work, despite me
updating the main file from site.rhtml to application.rhtml as the
RailsSpace book suggests.
If I am on the register page, and click 'help' I get the following:
No action responded to help. Actions: index and register
I understand how the links work from the site view, but when
navigating to the localhost/user/register I get a bit lost, and am
unsure how to put it right so the lnks do work..