Bug fix and limit expansions [skip ci]

This commit is contained in:
James Cole
2014-07-31 07:29:55 +02:00
parent 78d575fbb1
commit a41fb81446
3 changed files with 43 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ Route::bind('limit', function($value, $route)
where('limits.id', $value)->
leftJoin('components','components.id','=','limits.component_id')->
where('components.class','Budget')->
where('components.user_id',Auth::user()->id)->first();
where('components.user_id',Auth::user()->id)->first(['limits.*']);
}
return null;
});