Skip to content

Commit

Permalink
Merge pull request #655 from nishizoe/t-4532
Browse files Browse the repository at this point in the history
(fixed #4532) symfony のデフォルト画面へのアクセス時に 404 画面を表示するよう修正
  • Loading branch information
nishizoe committed Dec 21, 2021
2 parents ee7e6d8 + df701ee commit 4d337a2
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
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
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
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 4d337a2

Please sign in to comment.