diff options
author | Greg Aker <greg.aker@ellislab.com> | 2011-03-09 05:05:05 +0100 |
---|---|---|
committer | Greg Aker <greg.aker@ellislab.com> | 2011-03-09 05:05:05 +0100 |
commit | 03103109eabae90f7c34ea0545d27f01eebc31f7 (patch) | |
tree | 6ded1c8a3bf997dbadc78ad56ec8ed49eef5f1a5 /application | |
parent | 154da11c5bb4b7dc5c225f4fa018852ee45cc6eb (diff) |
Removing the unnecessary constructor in the welcome controller. Also added comments in the index method that may help users new to CodeIgniter.
Diffstat (limited to 'application')
-rw-r--r-- | application/controllers/welcome.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php index 79689f012..4ed67500b 100644 --- a/application/controllers/welcome.php +++ b/application/controllers/welcome.php @@ -2,12 +2,7 @@ class Welcome extends CI_Controller { - function __construct() - { - parent::__construct(); - } - - function index() + public function index() { $this->load->view('welcome_message'); } |