Skip to content

Commit

Permalink
Merge pull request #17 from kenjis/update-ci4-attribute-routes
Browse files Browse the repository at this point in the history
ci4-attribute-routes の更新
  • Loading branch information
kenjis authored Feb 13, 2022
2 parents cb262f5 + b868dc1 commit b88bcea
Show file tree
Hide file tree
Showing 5 changed files with 458 additions and 467 deletions.
57 changes: 19 additions & 38 deletions app/Config/RoutesFromAttribute.php
Original file line number Diff line number Diff line change
@@ -1,41 +1,22 @@
<?php
// This file is automatically generated by ci4-attribute-routes.
// Please do not modify this file.
$routes->get('bbs/index', '\App\Controllers\Bbs::index', [
]);
$routes->get('bbs/post', '\App\Controllers\Bbs::post', [
]);
$routes->post('bbs/confirm', '\App\Controllers\Bbs::confirm', [
]);
$routes->post('bbs/delete/(:num)', '\App\Controllers\Bbs::delete/$1', [
]);
$routes->post('bbs/insert', '\App\Controllers\Bbs::insert', [
]);
$routes->get('form', '\App\Controllers\Form::index', [
]);
$routes->post('form', '\App\Controllers\Form::index', [
]);
$routes->post('form/confirm', '\App\Controllers\Form::confirm', [
]);
$routes->post('form/send', '\App\Controllers\Form::send', [
]);
$routes->post('shop/add/(:num)', '\App\Controllers\Shop\Cart::add/$1', [
]);
$routes->get('shop/cart', '\App\Controllers\Shop\Cart::index', [
]);
$routes->post('shop/customer_info', '\App\Controllers\Shop\CustomerInfo::index', [
]);
$routes->post('shop/confirm', '\App\Controllers\Shop\CustomerInfo::confirm', [
]);
$routes->get('shop/index/(:num)', '\App\Controllers\Shop\Index::index/$1', [
]);
$routes->get('shop/index/(:num)/(:num)', '\App\Controllers\Shop\Index::index/$1/$2', [
]);
$routes->post('shop/order', '\App\Controllers\Shop\Order::index', [
]);
$routes->get('shop/product/(:num)', '\App\Controllers\Shop\Product::index/$1', [
]);
$routes->get('shop/search', '\App\Controllers\Shop\Search::index', [
]);
$routes->get('shop/search/(:num)', '\App\Controllers\Shop\Search::index/$1', [
]);
$routes->get('bbs/index', '\App\Controllers\Bbs::index');
$routes->get('bbs/post', '\App\Controllers\Bbs::post');
$routes->post('bbs/confirm', '\App\Controllers\Bbs::confirm');
$routes->post('bbs/delete/(:num)', '\App\Controllers\Bbs::delete/$1');
$routes->post('bbs/insert', '\App\Controllers\Bbs::insert');
$routes->get('form', '\App\Controllers\Form::index');
$routes->post('form', '\App\Controllers\Form::index');
$routes->post('form/confirm', '\App\Controllers\Form::confirm');
$routes->post('form/send', '\App\Controllers\Form::send');
$routes->post('shop/add/(:num)', '\App\Controllers\Shop\Cart::add/$1');
$routes->get('shop/cart', '\App\Controllers\Shop\Cart::index');
$routes->post('shop/customer_info', '\App\Controllers\Shop\CustomerInfo::index');
$routes->post('shop/confirm', '\App\Controllers\Shop\CustomerInfo::confirm');
$routes->get('shop/index/(:num)', '\App\Controllers\Shop\Index::index/$1');
$routes->get('shop/index/(:num)/(:num)', '\App\Controllers\Shop\Index::index/$1/$2');
$routes->post('shop/order', '\App\Controllers\Shop\Order::index');
$routes->get('shop/product/(:num)', '\App\Controllers\Shop\Product::index/$1');
$routes->get('shop/search', '\App\Controllers\Shop\Search::index');
$routes->get('shop/search/(:num)', '\App\Controllers\Shop\Search::index/$1');
8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"require-dev": {
"fakerphp/faker": "^1.9",
"mikey179/vfsstream": "1.6.*",
"phpunit/phpunit": "^9.5",
"codeception/codeception": "^4.1",
"codeception/module-webdriver": "^1.2",
"kenjis/phpunit-helper": "^1.0",
Expand Down Expand Up @@ -93,5 +92,10 @@
"type": "vcs",
"url": "https://github.com/codeigniter4/codeigniter4"
}
]
],
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
}
}
Loading

0 comments on commit b88bcea

Please sign in to comment.