Skip to content

Commit

Permalink
Yii2 use Hello Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
joanhey committed Mar 11, 2024
1 parent 3b83eb6 commit 77914e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion yii-2.0-basic/_benchmark/hello_world.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
url="$base/$fw/web/index.php?r=helloworld/index"
url="$base/$fw/web/index.php?r=hello/index"
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use yii\web\Controller;

// such simple controller
class HelloworldController extends Controller {
class HelloController extends Controller {
public function actionIndex() {
return 'Hello World!';
}
Expand Down

0 comments on commit 77914e9

Please sign in to comment.