And how about your Page Controller, did you change it to About Controller?

In your first implementation you've used Pages Controller to create your
About page. If you didn't change it to and About Controller you can to do
something loke that:

map.resources :pages, :member => { :about => :get }

[]'s

2010/1/3 Rong <[email protected]>

> If I created a route like this
> map.about '/about', *:controller => 'pages'*, :action => 'about
>
> And then added this to a different page
> <%= link_to "About", about_url %>
>
> And decided to change my route to
> * map.resources :about*
>
> the link to no longer works.
>
> What am I doing wrong?
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>


-- 
Thais Camilo
... nem todo mundo é igual, as experiências da vida definem atitudes

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to