mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-02 20:25:28 +00:00
Code clean up [skip ci]
This commit is contained in:
@@ -59,7 +59,7 @@ class Rule extends Model
|
||||
*/
|
||||
public static function routeBinder(Rule $value)
|
||||
{
|
||||
if (Auth::check()) {
|
||||
if (auth()->check()) {
|
||||
if ($value->user_id == Auth::user()->id) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user