Skip to content

Commit

Permalink
(C11N) config/redirects.config.php: add redirect /settings =>
Browse files Browse the repository at this point in the history
simplesettings

The config for the previously added "redirects" feature.
  • Loading branch information
tholewebgods committed Jun 13, 2024
1 parent dc535a0 commit feb0651
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/redirects.config.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?php
$CONFIG = [
'redirects' => [
// Request path without /index.php/ maps to a controller path in the form
// <app name>.<controller name>.<handler>.

// - For a FooController.php the controller name is "foo" (lowercase)
// - A handler would be a method in FooController that was annotated with
// - either #[FrontpageRoute] attribute
// - or configured in routes.php
'^\/settings' => 'simplesettings.page.index'
],
];

0 comments on commit feb0651

Please sign in to comment.