projects
/
zf2.biz
/
galerie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RĂ©alisation de galerie/index avec Ajax/Datatable
[zf2.biz/galerie.git]
/
module
/
Galerie
/
config
/
module.config.php
diff --git
a/module/Galerie/config/module.config.php
b/module/Galerie/config/module.config.php
index
830cf49
..
569165c
100644
(file)
--- a/
module/Galerie/config/module.config.php
+++ b/
module/Galerie/config/module.config.php
@@
-21,6
+21,9
@@
return array(
'template_path_stack' => array(
'galerie' => __DIR__ . '/../view',
),
'template_path_stack' => array(
'galerie' => __DIR__ . '/../view',
),
+ 'strategies' => array(
+ 'ViewJsonStrategy',
+ ),
),
'router' => array(
'routes' => array(
),
'router' => array(
'routes' => array(
@@
-37,7
+40,6
@@
return array(
'verb' => 'get',
'may_terminate' => true,
'child_routes' => array(
'verb' => 'get',
'may_terminate' => true,
'child_routes' => array(
-
'add' => array(
'type' => 'Literal',
'options' => array(
'add' => array(
'type' => 'Literal',
'options' => array(
@@
-100,6
+102,16
@@
return array(
),
'verb' => 'get,post',
),
),
'verb' => 'get,post',
),
+ 'list' => array(
+ 'type' => 'Literal',
+ 'options' => array(
+ 'route' => '/liste',
+ 'defaults' => array(
+ 'action' => 'list',
+ ),
+ ),
+ 'verb' => 'get',
+ ),/*
'default' => array(
'type' => 'Segment',
'options' => array(
'default' => array(
'type' => 'Segment',
'options' => array(
@@
-111,7
+123,7
@@
return array(
'defaults' => array(
),
),
'defaults' => array(
),
),
- ),
+ ),*/
),
),
),
),
),
),