need to run : drush ev 'drupal_flush_all_caches();' drush cr and restart nginx and php-fpm before loading the website
29 lines
809 B
YAML
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'
|