Fix route urls.

This commit is contained in:
James Cole
2015-05-26 20:37:01 +02:00
parent 9ad8b1a980
commit 946be80eef
11 changed files with 43 additions and 43 deletions

View File

@@ -277,7 +277,7 @@ class BudgetController extends Controller
// set value so edit routine will not overwrite URL:
Session::put('budgets.edit.fromUpdate', true);
return Redirect::route('budgets.edit', $budget->id)->withInput(['return_to_edit' => 1]);
return Redirect::route('budgets.edit', [$budget->id])->withInput(['return_to_edit' => 1]);
}
// redirect to previous URL.