From 5ca44ca4e18cf4e7dd66f48eb1f7023328c09d2d Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 24 Apr 2014 11:46:44 +0300 Subject: [PATCH] Adding plans page --- app/controllers/HomeController.php | 9 ++++++++- app/routes.php | 1 + app/views/public/header.blade.php | 2 ++ app/views/public/plans.blade.php | 7 +++++++ 4 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 app/views/public/plans.blade.php diff --git a/app/controllers/HomeController.php b/app/controllers/HomeController.php index 4a5c047a01e0..9ae6ec456582 100755 --- a/app/controllers/HomeController.php +++ b/app/controllers/HomeController.php @@ -33,15 +33,22 @@ class HomeController extends BaseController { { return View::make('public.terms'); } - public function showFaq() + + public function showFaq() { return View::make('public.faq'); } + public function showFeatures() { return View::make('public.features'); } + public function showPlans() + { + return View::make('public.plans'); + } + public function doContactUs() { diff --git a/app/routes.php b/app/routes.php index 54caebe65602..6da40f42a111 100755 --- a/app/routes.php +++ b/app/routes.php @@ -29,6 +29,7 @@ Route::get('/rocksteady', 'HomeController@showWelcome'); Route::get('/about', 'HomeController@showAboutUs'); Route::get('/terms', 'HomeController@showTerms'); Route::get('/contact', 'HomeController@showContactUs'); +Route::get('/plans', 'HomeController@showPlans'); Route::post('/contact', 'HomeController@doContactUs'); Route::get('/faq', 'HomeController@showFaq'); Route::get('/features', 'HomeController@showFeatures'); diff --git a/app/views/public/header.blade.php b/app/views/public/header.blade.php index bcd91205936d..b7105ad4ff1e 100644 --- a/app/views/public/header.blade.php +++ b/app/views/public/header.blade.php @@ -66,6 +66,7 @@