summaryrefslogtreecommitdiffstats
path: root/application/controllers
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2011-03-09 05:07:55 +0100
committerGreg Aker <greg.aker@ellislab.com>2011-03-09 05:07:55 +0100
commita9924b8352aa18869677bea0182c45e2a7e2ce37 (patch)
tree9cf29f0b37f34d5144b2a0f0af28756ab91a2dbb /application/controllers
parent2fad65e97309ef254dc18ac43a12ead88c21d5a9 (diff)
Would have helped if I saved the file before committing. see 849bdda643ee
Diffstat (limited to 'application/controllers')
-rw-r--r--application/controllers/welcome.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/application/controllers/welcome.php b/application/controllers/welcome.php
index 4ed67500b..21bef43d9 100644
--- a/application/controllers/welcome.php
+++ b/application/controllers/welcome.php
@@ -2,6 +2,21 @@
class Welcome extends CI_Controller {
+ /**
+ * Index Page for this controller.
+ *
+ * Maps to the following URL
+ * http://example.com/index.php/welcome
+ * - or -
+ * http://example.com/index.php/welcome/index
+ * - or -
+ * Since this controller is set as the default controller in
+ * config/routes.php, it's displayed at http://example.com/
+ *
+ * So any other public methods not prefixed with an underscore will
+ * map to /index.php/welcome/<method_name>
+ * @see http://codeigniter.com/user_guide/general/urls.html
+ */
public function index()
{
$this->load->view('welcome_message');