mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +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);
|
$addRoleScopesForm = $this->createAddRoleScopeForm($permissionsGroup);
|
||||||
|
|
||||||
// sort role scope by title
|
// sort role scope by title
|
||||||
/* @var $roleProvider \Chill\MainBundle\Security\RoleProvider */
|
|
||||||
$roleProvider = $this->get('chill.main.role_provider');
|
$roleProvider = $this->roleProvider;
|
||||||
$roleScopesSorted = array();
|
$roleScopesSorted = array();
|
||||||
foreach($permissionsGroup->getRoleScopes()->toArray() as $roleScope) {
|
foreach($permissionsGroup->getRoleScopes()->toArray() as $roleScope) {
|
||||||
/* @var $roleScope RoleScope */
|
/* @var $roleScope RoleScope */
|
||||||
|
@ -32,11 +32,11 @@ chill_password_recover:
|
|||||||
|
|
||||||
|
|
||||||
root:
|
root:
|
||||||
path: /
|
path: /
|
||||||
defaults:
|
controller: Symfony\Bundle\FrameworkBundle\Controller\RedirectController::urlRedirectAction
|
||||||
controller: Framework\RedirectController::urlRedirect
|
defaults:
|
||||||
path: /homepage
|
path: /homepage
|
||||||
permanent: false
|
permanent: false
|
||||||
|
|
||||||
chill_main_homepage_without_locale:
|
chill_main_homepage_without_locale:
|
||||||
path: /homepage
|
path: /homepage
|
||||||
@ -62,7 +62,7 @@ chill_main_admin_permissions:
|
|||||||
chill_main_search:
|
chill_main_search:
|
||||||
path: /{_locale}/search.{_format}
|
path: /{_locale}/search.{_format}
|
||||||
controller: Chill\MainBundle\Controller\SearchController::searchAction
|
controller: Chill\MainBundle\Controller\SearchController::searchAction
|
||||||
format: 'html'
|
format: 'html' # sf4 check
|
||||||
requirements:
|
requirements:
|
||||||
_format: html|json
|
_format: html|json
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user