Skip to content

Instantly share code, notes, and snippets.

@izayoi256
Last active June 1, 2016 02:55
Show Gist options
  • Save izayoi256/94831f96d96c40b8fc386146b71af32c to your computer and use it in GitHub Desktop.
Save izayoi256/94831f96d96c40b8fc386146b71af32c to your computer and use it in GitHub Desktop.
ルーティングの変更
// system/masterdata
$c->match('/setting/system/masterdata', '\Eccube\Controller\Admin\Setting\System\MasterdataController::index')->bind('admin_setting_system_masterdata');
// 旧
// $c->match('/setting/system/masterdata/edit', '\Eccube\Controller\Admin\Setting\System\MasterdataController::edit')->bind('admin_setting_system_masterdata_edit');
// 新
$c->match('/setting/system/masterdata/{entity}/edit', '\Eccube\Controller\Admin\Setting\System\MasterdataController::index')
->bind('admin_setting_system_masterdata_edit');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment