On Tue, Jun 21, 2011 at 9:42 AM, Chirag Singhal <[email protected]>wrote:
> Sorry, I sent you the rails 2.3 way of routing.
> It should have been like this:
>
> namespace "admin" do
> resources :posts do
> collection do
> post :click
> end
> end
>
Great!!
working now.Thank you sir
>
> And as Colin said, you can't have two "root" routes for your app. Keep one
> of them and remove the other one.
>
ok
>
>
> amritpalpathakgne.wordpress.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 [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.