mibew/src/mibew/configs/routing_install.yml
2014-11-11 10:34:04 +00:00

61 lines
1.9 KiB
YAML

# The following route is a fake and is used only to load routes of the core. It
# can have any unique name.
_include_core_routes:
resource: routing.yml
type: yaml
# Override the home route to allow users use <mibew root>/install.php path to
# the installer.
home:
path: /
defaults:
_controller: Mibew\Controller\InstallController::indexAction
install:
path: /install
defaults:
_controller: Mibew\Controller\InstallController::indexAction
install_check_requirements:
path: /install/check-requirements
defaults:
_controller: Mibew\Controller\InstallController::checkRequirementsAction
_access_check: Mibew\AccessControl\Check\CanInstallCheck
install_check_connection:
path: /install/check-connection
defaults:
_controller: Mibew\Controller\InstallController::checkConnectionAction
_access_check: Mibew\AccessControl\Check\CanInstallCheck
install_create_tables:
path: /install/create-tables
defaults:
_controller: Mibew\Controller\InstallController::createTablesAction
_access_check: Mibew\AccessControl\Check\CanInstallCheck
install_set_password:
path: /install/set-password
defaults:
_controller: Mibew\Controller\InstallController::showPasswordFormAction
_access_check: Mibew\AccessControl\Check\CanInstallCheck
methods: [GET]
install_set_password_submit:
path: /install/set-password
defaults:
_controller: Mibew\Controller\InstallController::submitPasswordFormAction
_access_check: Mibew\AccessControl\Check\CanInstallCheck
methods: [POST]
install_import_locales:
path: /install/import-locales
defaults:
_controller: Mibew\Controller\InstallController::importLocalesAction
_access_check: Mibew\AccessControl\Check\CanInstallCheck
install_done:
path: /install/done
defaults:
_controller: Mibew\Controller\InstallController::doneAction