text changes to registration mail content
[namibia] / module / Workspace / config / module.config.php
1 <?php
2 namespace Workspace;
3
4
5 return array(
6                 'controllers' => array(
7                                 'invokables' => array(
8                                                 'Workspace\Controller\Workspace' => 'Workspace\Controller\WorkspaceController',
9                                                 'Workspace\Controller\DeviceWorkspace' => 'Workspace\Controller\DeviceWorkspaceController',
10                                                 'Workspace\Controller\DeviceWorkspace2' => 'Workspace\Controller\DeviceWorkspace2Controller',
11                                                 'Workspace\Controller\Unsubscribe' => 'Workspace\Controller\UnsubscribeController'
12                                 ),
13                 ),
14             'router' => array(
15                 'routes' => array(
16                     'workspace' => array(
17                         'type'    => 'segment',
18                         'options' => array(
19                             'route'    => '/workspace[/][:action]',
20                             'constraints' => array(
21                                 'action' => '[a-zA-Z][a-zA-Z0-9_-]*'
22                             ),
23                             'defaults' => array(
24                                 'controller' => 'Workspace\Controller\Workspace',
25                                 'action'     => 'index',
26                             ),
27                         ),
28                     ),
29                     'device-workspace' => array(
30                         'type'    => 'segment',
31                         'options' => array(
32                             'route'    => '/device-workspace[/][:action]',
33                             'constraints' => array(
34                                 'action' => '[a-zA-Z][a-zA-Z0-9_-]*'
35                             ),
36                             'defaults' => array(
37                                 'controller' => 'Workspace\Controller\DeviceWorkspace',
38                                 'action'     => 'index',
39                             ),
40                         ),
41                     ),
42                     'device-api' => array(
43                         'type'    => 'segment',
44                         'options' => array(
45                             'route'    => '/device-api[/][:action]',
46                             'constraints' => array(
47                                 'action' => '[a-zA-Z][a-zA-Z0-9_-]*'
48                             ),
49                             'defaults' => array(
50                                 'controller' => 'Workspace\Controller\DeviceWorkspace2',
51                                 'action'     => 'index',
52                             ),
53                         ),
54                     ),
55                     'unsubscribe' => array(
56                         'type'    => 'segment',
57                         'options' => array(
58                             'route'    => '/unsubscribe[/][:action]',
59                             'constraints' => array(
60                                 'action' => '[a-zA-Z][a-zA-Z0-9_-]*'
61                             ),
62                             'defaults' => array(
63                                 'controller' => 'Workspace\Controller\Unsubscribe',
64                                 'action'     => 'index',
65                             ),
66                         ),
67                     ),
68                 ),
69             ),
70                 'view_manager' => array(
71                                 'template_path_stack' => array(
72                                                 'workspace' => __DIR__ . '/../view',
73                                 ),
74         'strategies' => array(
75             'ViewJsonStrategy',
76         )
77                 )
78 );