Files
edlp_d8/web/modules/custom/edlp_ajax/edlp_ajax.routing.yml
T
bachir 9da6cf9927 reinstalled all contribs with composer
need to run :
drush ev 'drupal_flush_all_caches();'
drush cr
and restart nginx and php-fpm before loading the website
2019-04-30 19:27:47 +02:00

29 lines
809 B
YAML

# @Author: Bachir Soussi Chiadmi <bach>
# @Date: 13-12-2017
# @Email: bachir@figureslibres.io
# @Filename: edlp_corpus.routing.yml
# @Last modified by: bach
# @Last modified time: 20-12-2017
# @License: GPL-V3
edlp_ajax.entityjson:
path: '/edlp/ajax/entity/json/{entity_type}/{id}/{viewmode}'
defaults:
_controller: '\Drupal\edlp_ajax\Controller\EdlpAjaxController::entityjson'
_title: 'EdlpAjaxEntityJson'
entity_type : null
id: null
viewmode: 'default'
requirements:
_permission: 'access content'
# NOT USED (YET)
edlp_ajax.blocksjson:
path: '/edlp/ajax/blocks/json/{blockid}'
defaults:
_controller: '\Drupal\edlp_ajax\Controller\EdlpAjaxController::blocksjson'
_title: 'EdlpAjaxBlockJson'
blockid: null
requirements:
_permission: 'access content'