You are here

social_group_default_route.routing.yml in Open Social 10.0.x

modules/social_features/social_group/modules/social_group_default_route/social_group_default_route.routing.yml

File

modules/social_features/social_group/modules/social_group_default_route/social_group_default_route.routing.yml
View source
  1. social_group_default.group_home:
  2. path: '/group/{group}/home'
  3. defaults:
  4. _content: '\Drupal\social_group\Controller\SocialGroupController::groupStream'
  5. _title_callback: '\Drupal\social_group\Controller\SocialGroupController::groupStreamTitle'
  6. _entity_view: 'group.stream'
  7. requirements:
  8. _group_permission: 'view group stream page'