mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Would be nice to remove the references as well...
This commit is contained in:
@@ -74,7 +74,7 @@ class TransactionType extends Model
|
||||
*/
|
||||
public static function routeBinder(string $type): TransactionType
|
||||
{
|
||||
if (!$guard->check()) {
|
||||
if (!auth()->check()) {
|
||||
throw new NotFoundHttpException();
|
||||
}
|
||||
$transactionType = self::where('type', ucfirst($type))->first();
|
||||
|
||||
Reference in New Issue
Block a user