Hello and here is my problem.
All controllers return always 404 error in browser, but in logs:
Processing PostController#index (for myip at 2013-02-01 13:33:02) [GET]
Rendering post/index
Completed in 2ms (View: 1, DB: 0) | 200 OK [http://site.com/]
And files in /public load fine. My routes.rb:
map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'
Hope for your help.
your routes mean that you need to always match the following
/controller/action/idor/controller/action/id.format. You should use parenthesis like the one generated for a new rails project. take note of the comment on why you should not do this