handled home loading if not available in dom (if drupalSettings.path.isFront == false)
This commit is contained in:
@@ -1,23 +1,7 @@
|
||||
# materio_home.home:
|
||||
# path: '/home'
|
||||
# defaults:
|
||||
# _controller: '\Drupal\materio_home\Controller\HomeController::home'
|
||||
# _title: 'Home'
|
||||
# requirements:
|
||||
# _permission: 'access content'
|
||||
|
||||
# materio_home.home_mobile:
|
||||
# path: '/home_m'
|
||||
# defaults:
|
||||
# _controller: '\Drupal\materio_home\Controller\HomeController::home_mobile'
|
||||
# _title: 'Home'
|
||||
# requirements:
|
||||
# _permission: 'access content'
|
||||
#
|
||||
# materio_home.home_mobileajax:
|
||||
# path: '/home_m/ajax'
|
||||
# defaults:
|
||||
# _controller: '\Drupal\materio_home\Controller\HomeController::home_mobilejson'
|
||||
# _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'
|
||||
|
Reference in New Issue
Block a user