Skip to content

Commit

Permalink
removed url last trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Rieger committed Apr 4, 2015
1 parent 47d4ffb commit 67e396f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions module/Frontend/Api/config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'restapi' => array(
'type' => 'literal',
'options' => array(
'route' => 'RESTful/api/',
'route' => 'RESTful/api',
'defaults' => array(
'controller' => 'Frontend\Api\Controller\Api',
'action' => 'indexPublic'
Expand All @@ -25,7 +25,7 @@
'api' => array(
'type' => 'literal',
'options' => array(
'route' => 'api/',
'route' => '/api',
'defaults' => array(
'controller' => 'Frontend\Api\Controller\Api',
'action' => 'index'
Expand Down
8 changes: 4 additions & 4 deletions module/Frontend/Dashboard/config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
'user' => array(
'type' => 'literal',
'options' => array(
'route' => 'user/',
'route' => 'user',
'defaults' => array(
'controller' => 'Frontend\Dashboard\Controller\Dashboard',
'action' => 'index'
Expand All @@ -25,7 +25,7 @@
'home' => array(
'type' => 'literal',
'options' => array(
'route' => 'home/',
'route' => '/home',
'defaults' => array(
'controller' => 'Frontend\Dashboard\Controller\Dashboard',
'action' => 'index'
Expand All @@ -37,7 +37,7 @@
'donate' => array(
'type' => 'literal',
'options' => array(
'route' => 'support/',
'route' => '/support',
'defaults' => array(
'controller' => 'Frontend\Dashboard\Controller\Dashboard',
'action' => 'donate'
Expand All @@ -49,7 +49,7 @@
'account' => array(
'type' => 'literal',
'options' => array(
'route' => 'account/',
'route' => '/account',
'defaults' => array(
'controller' => 'Frontend\Dashboard\Controller\Account',
'action' => 'index'
Expand Down
2 changes: 1 addition & 1 deletion module/Frontend/Impressum/config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
'impressum' => array(
'type' => 'literal',
'options' => array(
'route' => 'impressum/',
'route' => 'impressum',
'defaults' => array(
'controller' => 'Frontend\Impressum\Controller\Impressum',
'action' => 'index'
Expand Down
6 changes: 3 additions & 3 deletions module/Frontend/Login/config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'register' => array(
'type' => 'literal',
'options' => array(
'route' => 'register/',
'route' => '/register',
'defaults' => array(
'controller' => 'Frontend\Login\Controller\Login',
'action' => 'register'
Expand All @@ -24,7 +24,7 @@
'login' => array(
'type' => 'literal',
'options' => array(
'route' => 'login/',
'route' => '/login',
'defaults' => array(
'controller' => 'Frontend\Login\Controller\Login',
'action' => 'login'
Expand All @@ -34,7 +34,7 @@
'logout' => array(
'type' => 'literal',
'options' => array(
'route' => 'logout/',
'route' => '/logout',
'defaults' => array(
'controller' => 'Frontend\Login\Controller\Login',
'action' => 'logout'
Expand Down
14 changes: 7 additions & 7 deletions module/Frontend/Squads/config/module.config.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'squads' => array(
'type' => 'literal',
'options' => array(
'route' => 'squads/',
'route' => '/squads',
'defaults' => array(
'controller' => 'Frontend\Squads\Controller\Squads',
'action' => 'index',
Expand All @@ -27,7 +27,7 @@
'xml' => array(
'type' => 'segment',
'options' => array(
'route' => 'xml/:id/[squad.xml]',
'route' => '/xml/:id/[squad.xml]',
'defaults' => array(
'controller' => 'Frontend\Squads\Controller\SquadXml',
'action' => 'squadFile'
Expand Down Expand Up @@ -116,7 +116,7 @@
'create' => array(
'type' => 'segment',
'options' => array(
'route' => 'create/',
'route' => '/create',
'defaults' => array(
'controller' => 'Frontend\Squads\Controller\Squads',
'action' => 'create',
Expand All @@ -127,7 +127,7 @@
'delete' => array(
'type' => 'segment',
'options' => array(
'route' => 'delete/:id/',
'route' => '/delete/:id',
'defaults' => array(
'controller' => 'Frontend\Squads\Controller\Squads',
'action' => 'delete'
Expand All @@ -137,7 +137,7 @@
'edit' => array(
'type' => 'segment',
'options' => array(
'route' => 'edit/:id/',
'route' => '/edit/:id',
'defaults' => array(
'controller' => 'Frontend\Squads\Controller\Squads',
'action' => 'edit'
Expand All @@ -147,7 +147,7 @@
'member' => array(
'type' => 'segment',
'options' => array(
'route' => 'member/:id/',
'route' => '/member/:id',
'defaults' => array(
'controller' => 'Frontend\Squads\Controller\SquadMember',
'action' => 'edit'
Expand All @@ -157,7 +157,7 @@
'download' => array(
'type' => 'segment',
'options' => array(
'route' => 'download/:id/',
'route' => '/download/:id',
'defaults' => array(
'controller' => 'Frontend\Squads\Controller\Squads',
'action' => 'download'
Expand Down

0 comments on commit 67e396f

Please sign in to comment.