Hi everybody,

this week I was wondering if symfony is able to create an alias for a
routing rule. What I would prefer is something that allows the
developer to specify an alias url for a certain module, action and
additional parameters that either is redirected or simply forwarded to
a named routing rule from the routing.yml file.

E.g.

login:
  url:      /login/
  param:
    module: sfGuardAuth
    action: signin

signin_alias_redirect:
  url:      /signin/
  alias:    @login
  routing:  redirect

signin_alias_forward:
  url:      /sign-in/
  alias:    @login
  routing:  forward

It seems to me that this would be a behavior that more developers
might like. Is there something like this out there in the form of a
plugin or should I file a ticket on this? What are your thoughts?

Thanks,

Marijn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to