add thirdparty bundle, fix errors, set new path for all config yaml files

This commit is contained in:
Tchama 2020-08-04 13:55:59 +02:00
parent ec726ced19
commit 320cbdf908
2 changed files with 8 additions and 8 deletions

View File

@ -483,8 +483,8 @@ class PermissionsGroupController extends Controller
$addRoleScopesForm = $this->createAddRoleScopeForm($permissionsGroup);
// sort role scope by title
/* @var $roleProvider \Chill\MainBundle\Security\RoleProvider */
$roleProvider = $this->get('chill.main.role_provider');
$roleProvider = $this->roleProvider;
$roleScopesSorted = array();
foreach($permissionsGroup->getRoleScopes()->toArray() as $roleScope) {
/* @var $roleScope RoleScope */

View File

@ -32,11 +32,11 @@ chill_password_recover:
root:
path: /
defaults:
controller: Framework\RedirectController::urlRedirect
path: /homepage
permanent: false
path: /
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction
defaults:
path: /homepage
permanent: false
chill_main_homepage_without_locale:
path: /homepage
@ -62,7 +62,7 @@ chill_main_admin_permissions:
chill_main_search:
path: /{_locale}/search.{_format}
controller: Chill\MainBundle\Controller\SearchController::searchAction
format: 'html'
format: 'html' # sf4 check
requirements:
_format: html|json