Reputation: 1043
Am I missing something or should my custom route work with the index.php (or nothing) instead of frontend_dev.php? I'm getting a 500 error when I go to the model, and a 404 for the show page. My route is:
project_show:
url: /project/:slug
class: sfDoctrineRoute
options: { model: Project, type: object }
param: { module: project, action: show }
Any help would be much appreciated! Thanks!
Darren.
Upvotes: 0
Views: 1562
Reputation: 44376
First of all try to clear the cache: ./symfony cc
. If that won't help just check what error is thrown (you can find an error message in your logs).
Upvotes: 1