Update some config and metadata

This commit is contained in:
Timothy Warren 2015-11-13 11:34:30 -05:00
parent ca2e72d3f0
commit 83cd815750
2 changed files with 3 additions and 25 deletions

View File

@ -4,7 +4,8 @@ return [
'convention' => [
'default_namespace' => '\\Aviat\\AnimeClient\\Controller',
'default_controller' => '\\Aviat\\AnimeClient\\Controller\\Anime',
'default_method' => 'index'
'default_method' => 'index',
'404_method' => 'not_found'
],
// Routes on all controllers
'common' => [
@ -16,29 +17,6 @@ return [
'controller' => '[a-z_]+'
]
],
'login_form' => [
'path' => '/{controller}/login',
'action' => 'login',
'verb' => 'get',
'tokens' => [
'controller' => '[a-z_]+'
]
],
'login_action' => [
'path' => '/{controller}/login',
'action' => 'login_action',
'verb' => 'post',
'tokens' => [
'controller' => '[a-z_]+'
]
],
'logout' => [
'path' => '/{controller}/logout',
'action' => 'logout',
'tokens' => [
'controller' => '[a-z_]+'
]
],
],
// Routes on collection controller
'collection' => [

View File

@ -2,5 +2,5 @@ sonar.projectKey=animeclient
sonar.projectName=Anime Client
sonar.projectVersion=1.0
sonar.sources=src
sonar.php.coverage.overallReportPath=build/logs/clover.xml
sonar.php.coverage.reportPath=build/logs/clover.xml
sonar.php.tests.reportPath=build/logs/junit.xml