Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit a1f61dc

Browse files
committed
Added specifying full path with namespace in routes
1 parent 9e77114 commit a1f61dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/routes.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
use \Dmyers\Storage\Storage;
4+
35
if ($route_path = Storage::config('route_path', false)) {
46
// Register storage route.
57
\Route::get($route_path.'{path}', function ($path) {

0 commit comments

Comments
 (0)