Skip to content

Commit

Permalink
fix laravel 7+ issues (#48)
Browse files Browse the repository at this point in the history
credit to @safiullahsarhandi for comming up with fix , im simply implimenting it into base
  • Loading branch information
teddy9110 committed Sep 19, 2020
1 parent f6462a7 commit 54a8e2d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
Binary file added .DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion resources/views/api-tester.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
<div id="api-tester">
<vm-api-tester-main></vm-api-tester-main>
</div>
<script src="{{ route('api-tester.file', ['_file' => 'api-tester.js']) }}"></script>
<script src="{{ route('api-tester.file', ['_file' => 'api-tester.js']) }}"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion src/Entities/RouteInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Support\Str;
use JsonSerializable;
use Illuminate\Support\Str;

/**
* Frontend ready route
Expand Down
2 changes: 1 addition & 1 deletion src/Storages/JsonStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function __construct(Filesystem $files, RequestCollection $collection, $p
$this->collection = $collection;
$path = explode('/', $path);
$this->filename = array_pop($path);
$this->path = implode($path, '/');
$this->path = implode('/'.$path);
}

/**
Expand Down

0 comments on commit 54a8e2d

Please sign in to comment.