Re: [Rails] Re: Route error to Admin namespace

2009-12-07 Thread Paulo Coutinho
Hi.

Im already try it, but no sucess.

My controllers is not restfull.



2009/12/7 Freddy Andersen 

> This works fine for me in jruby:
>
> map.namespace(:admin) do |admin|
>  admin.resources :clients
>  admin.resources :options, :has_many => :widgets
> end
>
> Does this not work?
>
> Make sure its above the default routes...
>
> --
>
> 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 rubyonrails-t...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-talk+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
>


-- 
Atenciosamente,
Paulo Coutinho.
Blog: www.prsolucoes.com/blog
Site: www.prsolucoes.com
Msn:  pa...@prsolucoes.com

--

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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.




[Rails] Re: Route error to Admin namespace

2009-12-07 Thread Freddy Andersen
This works fine for me in jruby:

map.namespace(:admin) do |admin|
  admin.resources :clients
  admin.resources :options, :has_many => :widgets
end

Does this not work?

Make sure its above the default routes...

--

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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.