Routing does not need table and model, it refers to module and action.
For example for url "www.mywebsite.com/welcome", in your routing.yml
you would have something like:
welcome:
url: /welcome
param: { module: default, action: welcome }
On Sat, Feb 6, 2010 at 5:21 PM, Shawn <[email protected]> wrote:
> I am trying to create a portfolio website and have a few questions
> about routing.
> On this site there will be 3 pages, Welcome, Projects, Contact. The
> Projects page will reference the projects table and models. I am
> cabable of creating the routing for this, however, The welcome and
> contact pages will not reference any model or table. I am confused as
> to how to go about create static pages and their routing?
>
> Any Suggestions?
>
> Thanks,
> Shawn
>
> --
> 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.
>
>
--
Blue Horn Ltd - System Development
http://bluehorn.co.nz
--
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.