You are here

faq_ask.routing.yml in FAQ_Ask 8

File

faq_ask.routing.yml
View source
  1. faq_ask.faq_ask-experts:
  2. path: '/admin/config/content/faq/ask'
  3. defaults:
  4. _title: 'Experts'
  5. _controller: 'Drupal\faq_ask\Controller\FaqAskController::expertsSettings'
  6. requirements:
  7. _permission: 'administer faq'
  8. faq_ask.faq_ask_page:
  9. path: '/faq_ask'
  10. defaults:
  11. _title: 'Ask a question'
  12. _controller: 'Drupal\faq_ask\Controller\FaqAskController::askPageSettings'
  13. requirements:
  14. _permission: 'ask question'
  15. faq_ask.faq_ask_answer_view-node:
  16. path: '/faq_ask/answer/{nid}'
  17. defaults:
  18. _title: 'Answer a question'
  19. _controller: 'Drupal\faq_ask\Controller\FaqAskController::askAnswerViewSettings'
  20. requirements:
  21. _permission: 'access content'
  22. faq_ask.faq_ask_answer_edit-node:
  23. path: '/faq_ask/edit/{nid}'
  24. defaults:
  25. _title: 'Edit a question'
  26. _controller: 'Drupal\faq_ask\Controller\FaqAskController::askAnswerEditSettings'
  27. requirements:
  28. _permission: 'access content'
  29. faq_ask.faq_ask_unanswer:
  30. path: '/faq_ask/unanswered'
  31. defaults:
  32. _title: 'List more unanswered questions'
  33. _controller: 'Drupal\faq_ask\Controller\FaqAskController::askUnanswerSettings'
  34. requirements:
  35. _permission: 'answer question'