Update CategoryController.php

This commit is contained in:
James Cole 2015-03-25 16:13:39 +01:00
parent 6dd1b4537a
commit 26eafb0bd2

View File

@ -155,6 +155,10 @@ class CategoryController extends Controller
Session::flash('success', 'New category "' . $category->name . '" stored!');
if (intval(Input::get('create_another')) === 1) {
return Redirect::route('categories.create');
}
return Redirect::route('categories.index');
}