mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
add thirdparty bundle, fix errors, set new path for all config yaml files
This commit is contained in:
parent
ec726ced19
commit
320cbdf908
@ -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 */
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user