If I type this: "http://examplepage.com/gallery/examplecagegory/1-test-picture.jpg" to the browser.
Go to webroot: "app/webroot/gallery/pictures/1.jpg"
I tried:
Router::connect('/gallery/:slug_category/:id-:slug.:extension',
array('webroot/gallery/pictures'),
array(
'pass' => array('id', 'slug'),
'id' => '[0-9]+'
)
);
But I stucked in the second row... :-/