With the new router (v0.9.9) you don't even need to use the r block.
Anyways, how are you trying to generate the URL?
Thanks,
-Matt
Sent from my iPhone
On Oct 15, 2008, at 22:24, "Makoto Kuwata" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> I have a quetion about router.rb.
>
> I got the following error. What does this mean?
>
> merb : worker (port 4000) ~ Named route admin_products_update_info
> could not be generated with {} - (Merb::Router::GenerationError)
>
> Here is router setting.
>
> Merb::Router.prepare do |r|
> r.namespace :admin do |admin|
> admin.match("/products/update_info/:id", :method =>
> :post).to(:controller => "products", :action =>
> "update_info").name(:products_update_info)
> end
> end
>
> Could you help me?
>
> --
> regards,
> makoto kuwata
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---