'template_path_stack' => array(
'galerie' => __DIR__ . '/../view',
),
+ 'strategies' => array(
+ 'ViewJsonStrategy',
+ ),
),
'router' => array(
'routes' => array(
'verb' => 'get',
'may_terminate' => true,
'child_routes' => array(
-
'add' => array(
'type' => 'Literal',
'options' => array(
),
'verb' => 'get,post',
),
+ 'list' => array(
+ 'type' => 'Literal',
+ 'options' => array(
+ 'route' => '/liste',
+ 'defaults' => array(
+ 'action' => 'list',
+ ),
+ ),
+ 'verb' => 'get',
+ ),/*
'default' => array(
'type' => 'Segment',
'options' => array(
'defaults' => array(
),
),
- ),
+ ),*/
),
),
),