Skip to content

Commit

Permalink
AdminControllerProviderを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
chihiro-adachi committed Aug 22, 2017
1 parent c3ca858 commit 9c8c35b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 124 deletions.
2 changes: 0 additions & 2 deletions src/Eccube/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,7 @@ public function initialize()
$this->register(new CompatServiceProvider());
$this->register(new ServiceProvider\EccubeServiceProvider());

// mount controllers
$this->register(new \Silex\Provider\ServiceControllerServiceProvider());
$this->mount('/'.trim($this['config']['admin_route'], '/').'/', new ControllerProvider\AdminControllerProvider());
Request::enableHttpMethodParameterOverride(); // PUTやDELETEできるようにする

// ルーティングの設定
Expand Down
122 changes: 0 additions & 122 deletions src/Eccube/ControllerProvider/AdminControllerProvider.php

This file was deleted.

0 comments on commit 9c8c35b

Please sign in to comment.