You are here

social_content_report.routing.yml in Open Social 8.7

modules/social_features/social_content_report/social_content_report.routing.yml

File

modules/social_features/social_content_report/social_content_report.routing.yml
View source
  1. social_content_report.settings:
  2. path: '/admin/config/opensocial/content-reporting'
  3. defaults:
  4. _form: '\Drupal\social_content_report\Form\ContentReportSettingsForm'
  5. _title: 'Content Reporting settings'
  6. requirements:
  7. _permission: 'administer social_content_report settings'
  8. options:
  9. _admin_route: TRUE
  10. social_content_report.close_report:
  11. path: '/content-report/{flagging}/close'
  12. defaults:
  13. _controller: '\Drupal\social_content_report\Controller\ReportController::close'
  14. requirements:
  15. _permission: 'close inappropriate reports'