Return to edit / create screen when user indicates.

This commit is contained in:
James Cole
2015-03-26 17:45:03 +01:00
parent d624efa799
commit fcc47b58b4
7 changed files with 40 additions and 4 deletions

View File

@@ -148,7 +148,7 @@ class CurrencyController extends Controller
Session::flash('success', 'Currency "' . $currency->name . '" created');
if (intval(Input::get('create_another')) === 1) {
return Redirect::route('currency.create');
return Redirect::route('currency.create')->withInput();
}
return Redirect::route('currency.index');