openlucius-2.0.0-alpha3/modules/apps/ol_posts/ol_posts.routing.yml
modules/apps/ol_posts/ol_posts.routing.yml
lus_post.posts:
path: '/group/{gid}/posts'
defaults:
_controller: '\Drupal\ol_posts\Controller\PostsController::getPostList'
_title: 'Posts'
options:
no_cache: 'TRUE'
requirements:
_group_access_check: 'TRUE'
_permission: 'access ol content'
group_id: '[0-9]+'
lus_post.post:
path: '/group/{gid}/posts/{id}'
defaults:
_controller: '\Drupal\ol_posts\Controller\PostsController::getPost'
_title: 'Post'
options:
no_cache: 'TRUE'
requirements:
_group_access_check: 'TRUE'
_permission: 'access ol content'
id: '[0-9]+'
