From d0084fc17f4857d1ef92f90fc2910fcc5bf4a98e Mon Sep 17 00:00:00 2001 From: henk Date: Sat, 26 Dec 2015 10:46:07 +0100 Subject: [PATCH] Layout - Resources/doc/Installation.md --- Resources/doc/Installation.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/Resources/doc/Installation.md b/Resources/doc/Installation.md index 43f53f8..6fd8149 100644 --- a/Resources/doc/Installation.md +++ b/Resources/doc/Installation.md @@ -125,33 +125,33 @@ Installation resource: "@MetaclassAuthenticationGuardBundle/Resources/config/routing.yml" prefix: /guard ``` - And add the path of the user interface to your firewall in app/config/security.yml: + And add the path of the user interface to your firewall in app/config/security.yml: ```yml access_control: - { path: ^/guard, roles: ROLE_ADMIN } ``` - (there will probably already be an access_control configuration with several paths listed. - Add the above path to the list in an appropriate place. You may have to adapt ROLE_ADMIN to the user role identifier - appropriate for your application's security configuration.) + (there will probably already be an access_control configuration with several paths listed. + Add the above path to the list in an appropriate place. You may have to adapt ROLE_ADMIN to the user role identifier + appropriate for your application's security configuration.) - The user interface needs translation enabled in your app/config/config.yml: + The user interface needs translation enabled in your app/config/config.yml: ```yml framework: translator: { fallbacks: ["%locale%"] } ``` - It has the following entries: - - guard/statistics - - guard/history/ipAddress (replace 'ipAddress' by an actual ip address) - - guard/statistics/username (replace 'username' by an actual username) + It has the following entries: + - guard/statistics + - guard/history/ipAddress (replace 'ipAddress' by an actual ip address) + - guard/statistics/username (replace 'username' by an actual username) - The default template assumes you have base.html.twig still in app/Resources/views. - See configuration 13 to make it extend your applications layout. - - Resources/config/services.yml defines parameters for the controller class and - the StatsPeriod formtype. You may override them to use your own (sub)classes. + The default template assumes you have base.html.twig still in app/Resources/views. + See configuration 13 to make it extend your applications layout. - Currently the web based user interface only supports English and Dutch. - Please clone the Bundle on Github and add your own language translation! + Resources/config/services.yml defines parameters for the controller class and + the StatsPeriod formtype. You may override them to use your own (sub)classes. + + Currently the web based user interface only supports English and Dutch. + Please clone the Bundle on Github and add your own language translation! 10. If you want to run the tests you may add the following to the testsuites section of your app/phpunit.xml: ```xml