On 21 May 2011 05:18, John shelfer <[email protected]> wrote:
>
>> Please run rake routes and post that here
>  rake routes shows
>  posts_index GET /posts/index(.:format)
> {:action=>"index", :controller=>"posts"}
>
> What does your routes.rb look like?
> router.rb file looks like:
>
> Check::Application.routes.draw do
>  get "posts/index"
> ...

Have a look at the Rails Guide on Routing to see how routing works.
Read it through carefully and make sure you understand it.  Then you
will easily answer your question yourself.

Colin

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