wriver4 / nanoframework

Automatically exported from code.google.com/p/nanoframework
1 stars 0 forks source link

make_url() method for the router #31

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
It's really important to finish the make_url() methode in the router class.

It must accept named urls with query strings and match the correct url 
according to the route definition.

Ex:
  'routes' => array(
     'subscription' => array('route'=>'/mailling/:email/:action', 'controller'=>'Mailing', action'=>'index'),
  ...

  $route->make_url("subscription?email=john@mail.tld&action=unsubscribe");

should return :
  /mailing/john@mail.tld/unsubscribe

Original issue reported on code.google.com by stephane...@gmail.com on 7 Jan 2011 at 12:40

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by stephane...@gmail.com on 17 Feb 2011 at 11:52