refactored user blocks using ajax loaded drupal's html as template for vue
This commit is contained in:
15
web/modules/custom/materio_user/materio_user.routing.yml
Normal file
15
web/modules/custom/materio_user/materio_user.routing.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
materio_user.login_form:
|
||||
path: '/materio_user/login_form'
|
||||
defaults:
|
||||
_controller: '\Drupal\materio_user\Controller\AjaxLoginForm::getForm'
|
||||
_format: json
|
||||
requirements:
|
||||
_access: 'TRUE'
|
||||
|
||||
materio_user.login_block:
|
||||
path: '/materio_user/login_block'
|
||||
defaults:
|
||||
_controller: '\Drupal\materio_user\Controller\AjaxLoginBlock::getBlock'
|
||||
_format: json
|
||||
requirements:
|
||||
_access: 'TRUE'
|
Reference in New Issue
Block a user