Files
craft/config/routes.php
Tommy Parnell c6cf1ba03f init
2021-07-08 17:02:36 -04:00

24 lines
672 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Site URL Rules
*
* You can define custom site URL rules here, which Craft will check in addition
* to any routes youve defined in Settings → Routes.
*
* See http://www.yiiframework.com/doc-2.0/guide-runtime-routing.html for more
* info about URL rules.
*
* In addition to Yiis supported syntaxes, Craft supports a shortcut syntax for
* defining template routes:
*
* 'blog/archive/<year:\d{4}>' => ['template' => 'blog/_archive'],
*
* That example would match URIs such as `/blog/archive/2012`, and pass the
* request along to the `blog/_archive` template, providing it a `year` variable
* set to the value `2012`.
*/
return [
];