Skip to content

Commit

Permalink
Merge pull request #656 from nishizoe/t-4533
Browse files Browse the repository at this point in the history
(fixed #4533, BP from #4532) symfony のデフォルト画面へのアクセス時に 404 画面を表示するよう修正
  • Loading branch information
nishizoe authored Dec 6, 2021
2 parents 3cee732 + f93da8a commit de73dc3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/mobile_frontend/config/routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -240,3 +240,7 @@ no_default:
google_maps:
url: /googlemaps
param: { module: googlemaps, action: index }

no_symfony:
url: /symfony/*
param: { module: default, action: error }
12 changes: 12 additions & 0 deletions apps/pc_backend/config/routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,15 @@ default_template_help:
no_default:
url: /default/*
param: { module: default, action: error }

symfony_login:
url: /symfony/login
param: { module: default, action: login }

symfony_logout:
url: /symfony/logout
param: { module: default, action: logout }

no_symfony:
url: /symfony/*
param: { module: default, action: error }
4 changes: 4 additions & 0 deletions apps/pc_frontend/config/routing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -252,3 +252,7 @@ no_default:
google_maps:
url: /googlemaps
param: { module: googlemaps, action: index }

no_symfony:
url: /symfony/*
param: { module: default, action: error }

0 comments on commit de73dc3

Please sign in to comment.