Link to home
Start Free TrialLog in
Avatar of static86
static86

asked on

url with slash "/" at the end

Hi,
How can I add slash to the end of url so it would look like
view-review/sth-here/ instead of
view-review/sth-here

Thanks!
Router::connect('/view-review/:rurl/*',
                        array('controller' => 'reviews', 'action' => 'view'),
                        array('pass' => array('rurl'),
                              'rurl' => '[\w-]+'));

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of stilliard
stilliard
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Sorry, meant to type "Not", not "Note".