Well, of course I can, but can I do it in a super-convenient way?
Say that I want to name the path "/market/news" as :news.
namespace(:market) do
match("/news").register.full_name(:news)
default_routes
end
The match above works outside a namespace, but inside it blows up with
an error ("Placeholder not found while compiling routes:
:controller").
Do I have to do this?
namespace(:market) do
match("/news").to(:controller => 'news').full_name(:news)
default_routes
end
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---