Skip to content

Firefly III: a personal finances manager

Update CategoryController.php

James Cole26eafb0bd234
diff --git a/app/Http/Controllers/CategoryController.php b/app/Http/Controllers/CategoryController.php
index ff93171f9e..291ff7bda0 100644
--- a/app/Http/Controllers/CategoryController.php
+++ b/app/Http/Controllers/CategoryController.php
@@ -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');
}