Skip to content

Commit

Permalink
默认使用控制器后缀
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor committed Oct 19, 2022
1 parent 7483d76 commit 5b30f71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use support\Request;

class Index
class IndexController
{
public function index(Request $request)
{
Expand Down
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
'request_class' => Request::class,
'public_path' => base_path() . DIRECTORY_SEPARATOR . 'public',
'runtime_path' => base_path(false) . DIRECTORY_SEPARATOR . 'runtime',
'controller_suffix' => '',
'controller_suffix' => 'Controller',
'controller_reuse' => false,
];

0 comments on commit 5b30f71

Please sign in to comment.