Symfony custom route works with frontend_dev.php but not with index.php

Posted by dazhall on Stack Overflow See other posts from Stack Overflow or by dazhall
Published on 2010-04-30T15:38:44Z Indexed on 2010/05/01 8:27 UTC
Read the original article Hit count: 320

Filed under:
|
|
|

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.

© Stack Overflow or respective owner

Related posts about symfony

Related posts about routing