materio-d9/web/modules/custom/materio_home/materio_home.routing.yml

16 lines
415 B
YAML

materio_home.home:
path: 'home'
defaults:
_controller: '\Drupal\materio_home\Controller\HomeController::home'
_title: 'Home'
requirements:
_permission: 'access content'
materio_home.ajax_home:
path: 'materio_home/ajax/gethome'
defaults:
_controller: '\Drupal\materio_home\Controller\AjaxHomeController::getHome'
_title: 'ajaxGetHome'
requirements:
_permission: 'access content'