mirror of
https://github.com/brmlab/brmbiolab_sklad.git
synced 2025-06-07 20:53:59 +02:00
Routes for items/view items/delete items/edit
This commit is contained in:
parent
3b93da31de
commit
95e198b982
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@
|
|||
*/
|
||||
Router::connect('/', array('controller' => 'items', 'action' => 'index'));
|
||||
Router::connect('/items/delete/:id', array('controller' => 'items', 'action' => 'delete'), array('pass' => array('id'), 'id' => '[0-9]+'));
|
||||
Router::connect('/items/view/:id', array('controller' => 'items', 'action' => 'view'), array('pass' => array('id'), 'id' => '[0-9]+'));
|
||||
Router::connect('/items/edit/:id', array('controller' => 'items', 'action' => 'edit'), array('pass' => array('id'), 'id' => '[0-9]+'));
|
||||
|
||||
/**
|
||||
* Load all plugin routes. See the CakePlugin documentation on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue