On Tue, Jun 21, 2011 at 9:09 AM, Chirag Singhal <[email protected]>wrote:

> Can you paste the code from your routes file here?
>
>
> Check::Application.routes.draw do
>  # get "gne/clg"
>
>   get "posts/index"
> #resources :posts, :module => "admin"
> namespace "admin" do
> resources :posts ,:collection =>{:click => :post}
> end
>  #working right
> #resources :posts do
> #end
> #working right
> root :to => "posts#click"
> root :to => "posts#work"
> #get 'posts/click'
> #ActionController::Routing::Routes.draw do |map|
> #map.root :controller => "posts", :action => "click"
> #end
> #ActionController::Routing::Routes.draw do |map|
> #map.root :controller => "posts", :action => "work"
> #end
> end
>

-- 
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