I want such urls in at site:
http://mysite.com/freddy/profile/view
http://mysite.com/freddy/blog/view
....
so I want username in my url, and it should use controllers from
folder: member

And I use this route:
<pre>
map.username ":username/:controller/:action/:id",
          :controller => 'member/:controller',
          :action => ':action',
          :id => ':id',
          :requirements => { :username => /[a-zA-Z0-9_]+/}
</pre>

But it gives me error: "wrong constant name :controllerController".

What's 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]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to