Skip to content

Commit

Permalink
Merge pull request Sylius#7382 from pamil/unused-route
Browse files Browse the repository at this point in the history
Remove unused "sylius_admin_dashboard_redirect" route
  • Loading branch information
michalmarcinkowski committed Jan 31, 2017
2 parents e4bfd54 + 63b5549 commit 6999e13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 2 additions & 0 deletions UPGRADE.md
Expand Up @@ -167,6 +167,8 @@ These services will be generated automatically based on subject name.

## Application:

* `sylius_admin_dashboard_redirect` route was removed, use `sylius_admin_dashboard` instead.

### Configuration

### Security
Expand Down
8 changes: 0 additions & 8 deletions app/config/routing.yml
@@ -1,14 +1,6 @@
# This file is part of the Sylius package.
# (c) Paweł Jędrzejewski

sylius_admin_dashboard_redirect:
path: /admin
methods: [GET]
defaults:
_controller: FrameworkBundle:Redirect:redirect
route: sylius_admin_dashboard
permanent: true

sylius_shop:
resource: "@SyliusShopBundle/Resources/config/routing.yml"

Expand Down

0 comments on commit 6999e13

Please sign in to comment.