Skip to content

Commit 6a70e82

Browse files
committed
Add actions to tree browser display
1 parent e5d817a commit 6a70e82

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

app/config/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,10 @@ cmf_resource:
123123
default:
124124
type: doctrine_phpcr_odm
125125

126+
cmf_resource_rest:
127+
enhancer_map:
128+
- { repository: default, enhancer: sonata_admin }
129+
126130
sonata_block:
127131
default_contexts: [cms]
128132
blocks:

app/config/routing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,4 @@ block_cache:
5151

5252
cmf_resource:
5353
resource: '@CmfResourceRestBundle/Resources/config/routing.yml'
54+
prefix: /admin

app/config/security.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,3 @@ security:
2525
access_control:
2626
- { path: ^(/(de|fr|en))?/admin, roles: ROLE_ADMIN }
2727
#- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
28-
- { path: ^/efconnect, role: ROLE_USER }
29-
- { path: ^/elfinder, role: ROLE_USER }

composer.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)