Skip to content

Instantly share code, notes, and snippets.

@andreasbkrueger
Created September 10, 2012 09:42
Show Gist options
  • Save andreasbkrueger/3689967 to your computer and use it in GitHub Desktop.
Save andreasbkrueger/3689967 to your computer and use it in GitHub Desktop.
Routing - question
'giftcoupon_cats' => array(
'label' => 'Gifts by Category',
'title' => 'Gifts by Category',
'module' => 'shops',
'controller' => 'giftcategories',
'action' => 'index',
'class' => 'gutscheine-nach-kategorie',
'route' => 'geschenkgutscheine',
'pages' => array()
),
// Gifts
'gifts-by-category' => 'geschenkgutscheine',
'geschenkgutscheine' => array(
'type' => 'Zend_Controller_Router_Route',
'route' => '@gifts-by-category',
'defaults' => array('module' => 'shops', 'controller' => 'giftcategories', 'action' => 'index'),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment