mirror of
https://github.com/Mibew/boilerplate-plugin.git
synced 2025-02-05 16:54:41 +03:00
12 lines
544 B
YAML
12 lines
544 B
YAML
# Here we can easily define custom routes. Let's create a "Hello world!" page.
|
|
mibew_boilerplate_hello:
|
|
# Relative path from the Mibew web root is used here.
|
|
path: /mibew-boilerplate-hello/{name}
|
|
# Set some defaults for the request
|
|
defaults:
|
|
# This value is special. It tells the system what action should be
|
|
# invoked for the response
|
|
_controller: Mibew\Mibew\Plugin\Boilerplate\Controller\HelloWorldController::indexAction
|
|
# Set a default value for the "{name}" placeholder
|
|
name: world
|