scott
#1
On my development server, everything works fine. When I deploy to my
production environment, I see the following in my Urls:
www.mysite.com/main/:id:format
I am using the same routes file, which is the default routes file.
Am I missing a configuration?
Thanks,
Scott
scott
#2
Also, I checked the production.log and this is the only entry of
interest I came across:
Processing MainController#personal_projects (for 72.93.254.252 at
2007-02-16 05:52:54) [GET]
Session ID: 4851f0a98872d79e7f38322e528f0dc8
Parameters: {āactionā=>āpersonal_projectsā, ācontrollerā=>āmainā}
Rendering within layouts/main
Rendering main/personal_projects
Completed in 0.02278 (43 reqs/sec) | Rendering: 0.02159 (94%) | DB:
0.00000 (0%) | 200 OK [http://www.mysite.com/main/
personal_projects/:id.:format]
scott
#3
Anyone have any ideas on this?
scott
#4
Anyone have any ideas on this?
On my development server, everything works fine. When I deploy to my
production environment, I see the following in my Urls:
www.mysite.com/main/:id:format
I am using the same routes file, which is the default routes file.
Am I missing a configuration?
Thanks,
Scott
Hi Scott,
Just ran into this. In Rails Edge thereās a typo in config/
routes.rb . Remove
the period from this line, and youāll be all set:
< map.connect ā:controller/:action/:id./:formatā
-> map.connect ā:controller/:action/:id/:formatā
Mike