Skip to content

Commit 59fe188

Browse files
committed
Merge pull request panique#35 from panique/develop
improved comment to clarify the CamelCase (?) style of the model
2 parents 00d0222 + 05f5f23 commit 59fe188

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

application/controller/songs.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ public function index()
2121
echo 'Message from Controller: You are in the Controller: Songs, using the method index().';
2222

2323
// load a model, perform an action, pass the returned data to a variable
24-
// NOTE: you can write the model name like "SongsModel" or "songsmodel", both will work
24+
// NOTE: please write the name of the model "LikeThis"
2525
$songs_model = $this->loadModel('SongsModel');
2626
$songs = $songs_model->getAllSongs();
2727

2828
// load another model, perform an action, pass the returned data to a variable
29-
// NOTE: you can write the model name like "StatsModel" or "statsmodel", both will work
29+
// NOTE: please write the name of the model "LikeThis"
3030
$stats_model = $this->loadModel('StatsModel');
3131
$amount_of_songs = $stats_model->getAmountOfSongs();
3232

0 commit comments

Comments
 (0)