I would like to start using Object Route Class as in tutorial (I have
never used it):
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/05

I have in schema.yml:
Firm:
  columns:
    id_firm:
      type: integer(1)
      primary: true
      autoincrement: true
    email:
      type: string(100)
      notnull: true
    description:
      type: clob
      notnull: true


So I have modified file routing.yml:
firm:
  class:   sfDoctrineRouteCollection
  options: { model: Firm }

homepage:
  url:   /
  param: { module: firm, action: index }

And I have generated module 'firm'. But after came on site:
http://localhost/frontend_dev.php/firm/index I have an error:
404 | Not Found | sfError404Exception
Empty module and/or action after parsing the URL "/firm/index" (/).

What is going on ? What have I done wrong ?




--

You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en.


Reply via email to