Skip to content

Commit

Permalink
Ignore locale middleware for gii controllers (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
xepozz authored May 28, 2024
1 parent 229763e commit 6dbcb10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions blog-api/config/common/params.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
'locale' => [
'locales' => ['en' => 'en-US', 'ru' => 'ru-RU', 'de' => 'de-DE'],
'ignoredRequests' => [
'/gii**',
'/debug**',
'/inspect**',
],
Expand Down
1 change: 1 addition & 0 deletions blog/config/web/params.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
'locale' => [
'locales' => ['en' => 'en-US', 'ru' => 'ru-RU', 'id' => 'id-ID', 'sk' => 'sk-SK', 'de' => 'de-DE'],
'ignoredRequests' => [
'/gii**',
'/debug**',
'/inspect**',
],
Expand Down

0 comments on commit 6dbcb10

Please sign in to comment.