diff --git a/app/Config/Routes.php b/app/Config/Routes.php index 0060a6f..5c15f20 100644 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -32,6 +32,7 @@ $routes->setAutoRoute(true); // We get a performance increase by specifying the default // route since we don't have to scan directories. $routes->get('/', 'Home::index'); +$routes->get('/startproject', 'Projects::start'); /* * -------------------------------------------------------------------- diff --git a/app/Controllers/Projects.php b/app/Controllers/Projects.php index 01fe0ef..cee6678 100644 --- a/app/Controllers/Projects.php +++ b/app/Controllers/Projects.php @@ -8,4 +8,9 @@ class Projects extends BaseController { return view('projects/index'); } + + public function start() + { + return view('projects/index'); + } } diff --git a/app/Views/header.php b/app/Views/header.php index 0df5fd9..183c5f6 100644 --- a/app/Views/header.php +++ b/app/Views/header.php @@ -20,7 +20,7 @@ - + @@ -29,8 +29,6 @@ - - diff --git a/app/Views/projects/index.php b/app/Views/projects/index.php index 9e06e02..409f402 100644 --- a/app/Views/projects/index.php +++ b/app/Views/projects/index.php @@ -44,7 +44,7 @@