Skip to content

Commit

Permalink
url alias fix (librenms#14281)
Browse files Browse the repository at this point in the history
  • Loading branch information
murrant authored Sep 3, 2022
1 parent 5c76890 commit 842c454
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion LibreNMS/Util/Url.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
use Carbon\Carbon;
use Carbon\CarbonImmutable;
use Illuminate\Support\Facades\Auth;
use Illuminate\Support\Facades\URL as LaravelUrl;
use Illuminate\Support\Str;
use LibreNMS\Config;
use Request;
Expand Down Expand Up @@ -336,7 +337,7 @@ public static function forExternalGraph($args): string
$args = self::parseLegacyPathVars($path);
}

return \URL::signedRoute('graph', $args);
return LaravelUrl::signedRoute('graph', $args);
}

/**
Expand Down

0 comments on commit 842c454

Please sign in to comment.