mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 14:46:37 +00:00
Some code cleanup and fixes.
This commit is contained in:
@@ -68,8 +68,8 @@ class CategoryController extends BaseController
|
||||
public function store()
|
||||
{
|
||||
$category = $this->_repository->store(Input::all());
|
||||
if ($category->id) {
|
||||
Session::flash('success', 'Category created!');
|
||||
if ($category->validate()) {
|
||||
Session::flash('success', 'Category "' . $category->name . '" created!');
|
||||
|
||||
if (Input::get('create') == '1') {
|
||||
return Redirect::route('categories.create');
|
||||
|
Reference in New Issue
Block a user