Hi,

2011/2/1 HAUSa <jeroen_heeft_behoefte_aan_r...@hotmail.com>:
> Is it possible in an sfPropelRoute to include extra parameters in the
> URL, that doesn't correspond to the object?
>
> For example, my object:
>
> item:
>  id
>  title
>  slug
>  message
>  created_at
>  updated_at
>
> This is a correct sfPropelRoute url:
>
> topic_show:
>  url:     /part1/:slug

Maybe
url:     /part1/:slug/*
?

>  class:   sfPropelRoute
>  options: { model: Item, type: object }
>  param:   { module: item, action: show }
>
> But now I want to include some random text, that can be different
> every action.
> Example of the URL:
> /part1/here_random/:slug
> /part1/random_here/:slug
>
> These two must match the same route. Is it possible to include
> something like that?
>
> --
> If you want to report a vulnerability issue on symfony, please send it to 
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Best regards,
Michal

http://eventhorizon.pl/

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to