Test updates.

This commit is contained in:
James Cole
2014-12-20 15:25:22 +01:00
parent 256dba66b2
commit 83b7cb4ff9
8 changed files with 261 additions and 1822 deletions

View File

@@ -146,7 +146,7 @@ class BudgetController extends BaseController
public function show(Budget $budget, LimitRepetition $repetition = null)
{
if (!is_null($repetition) && $repetition->budgetLimit->budget->id != $budget->id) {
App::abort(500);
return View::make('error')->with('message','Invalid selection.');
}
$hideBudget = true; // used in transaction list.