I think I've asked this before, but I forget the answer :)

I want to match something with /'s in URL - and I've kinda got something 
that works, but it's ugly.

in my routing , I can do this:

test1:
   url: /test/*
   param: { module: blog, action : test }


which means from my action, I can get getPathInfo();

For a URL like  'http:// .. /test/moo/cow', the getPathInfo will return
'/test/moo/cow', which I can then trim off the 'test' and use it as 
required.

BUT - this means the action is no longer de-coupled from the routing, 
the action needs to know the URL, which is poor design.

I *think* this issue is resolved in sf1.1's better routing (is it?), but 
what options are there for a sf1.0 user?

Thanks,

-- 

Ian P. Christian ~ pookey.co.uk

--~--~---------~--~----~------------~-------~--~----~
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