From 0ae9ff4575d5cfe923b4eed0f948211417eb53f5 Mon Sep 17 00:00:00 2001 From: James Cole Date: Fri, 12 Sep 2014 17:30:12 +0200 Subject: [PATCH] Some initial title cleanup in the category controller. --- app/controllers/CategoryController.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/controllers/CategoryController.php b/app/controllers/CategoryController.php index 8dce038df3..2047829200 100644 --- a/app/controllers/CategoryController.php +++ b/app/controllers/CategoryController.php @@ -28,7 +28,7 @@ class CategoryController extends BaseController */ public function create() { - return View::make('categories.create')->with('title', 'Create a new category'); + return View::make('categories.create')->with('subTitle', 'Create a new category'); } /** @@ -39,7 +39,7 @@ class CategoryController extends BaseController public function delete(Category $category) { return View::make('categories.delete')->with('category', $category) - ->with('title', 'Delete category "' . $category->name . '"'); + ->with('subTitle', 'Delete category "' . $category->name . '"'); } /** @@ -62,7 +62,7 @@ class CategoryController extends BaseController public function edit(Category $category) { return View::make('categories.edit')->with('category', $category) - ->with('title', 'Edit category "' . $category->name . '"'); + ->with('subTitle', 'Edit category "' . $category->name . '"'); } /** @@ -73,7 +73,7 @@ class CategoryController extends BaseController $categories = $this->_repository->get(); return View::make('categories.index')->with('categories', $categories) - ->with('title', 'All your categories'); + ->with('subTitle', 'All your categories'); } /** @@ -91,7 +91,7 @@ class CategoryController extends BaseController return View::make('categories.show')->with('category', $category)->with('journals', $journals)->with( 'highlight', Input::get('highlight') - )->with('title', 'Overview for category "' . $category->name . '"'); + )->with('subTitle', 'Overview for category "' . $category->name . '"'); } /**