Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Commit

Permalink
Fix access to riddle admin page by using provided permission (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberschorsch authored and dbosen committed Aug 20, 2018
1 parent da41da9 commit e49cc34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion riddle_marketplace.routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ riddle_marketplace.list:
defaults:
_controller: '\Drupal\riddle_marketplace\Controller\RiddleController::riddleIframe'
requirements:
_permission: 'access content'
_permission: 'generate riddle_marketplace'

riddle_marketplace.admin_settings:
path: '/admin/config/content/riddle_marketplace'
Expand Down

0 comments on commit e49cc34

Please sign in to comment.