Various updates [skip ci]

This commit is contained in:
James Cole
2014-07-30 22:31:35 +02:00
parent 00a767cfc9
commit 78d575fbb1
13 changed files with 411 additions and 263 deletions

View File

@@ -88,7 +88,7 @@ class EloquentLimitRepository implements LimitRepositoryInterface
$limit->repeats = isset($data['repeats']) ? intval($data['repeats']) : 0;
$limit->repeat_freq = $data['period'];
if (!$limit->save()) {
Session::flash('error', 'Could not save: ' . $limit->errors()->first());
\Session::flash('error', 'Could not save: ' . $limit->errors()->first());
}
return $limit;