Skip to content

Commit

Permalink
ルーティングのBINDのキーを修正 EC-CUBE#35
Browse files Browse the repository at this point in the history
  • Loading branch information
Takaya Murata committed Jun 11, 2018
1 parent 942dcab commit 5e99575
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ServiceProvider/OrderPdfServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,14 @@ public function register(BaseApplication $app)
// 帳票の作成
$admin->match('/plugin/order-pdf', '\\Plugin\\OrderPdf\\Controller\\OrderPdfController::index')
->bind('admin_plugin_order_pdf');
$admin->match('/plugin/order-pdf', '\\Plugin\\OrderPdf\\Controller\\OrderPdfController::index')
->bind('plugin_admin_order_pdf'); // deprecated

// PDFファイルダウンロード
$admin->post('/plugin/order-pdf/download', '\\Plugin\\OrderPdf\\Controller\\OrderPdfController::download')
->bind('admin_plugin_order_pdf_download');
$admin->post('/plugin/order-pdf/download', '\\Plugin\\OrderPdf\\Controller\\OrderPdfController::download')
->bind('plugin_admin_order_pdf_download'); // deprecated

$app->mount('/'.trim($app['config']['admin_route'], '/').'/', $admin);

Expand Down

0 comments on commit 5e99575

Please sign in to comment.