Skip to content

Commit ba96be6

Browse files
committed
Minor fixes.
1 parent f2b57dd commit ba96be6

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ php artisan vendor:publish --provider="Asvae\ApiTester\ServiceProvider"
3232
And edit `config/api-tester.php` as you please.
3333

3434
## Features
35-
* Display all the routes for application.
35+
* Display routes for your application.
3636
* Live search and sortable columns.
3737
* CSRF token is handled for you.
3838
* Define request body in [JSON editor](https://github.com/josdejong/jsoneditor).

src/Http/Controllers/ApiTesterController.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ public function index()
2121

2222
public function routes()
2323
{
24-
if (! config('app.debug')) {
25-
abort(404);
26-
}
27-
2824
$routes = [];
2925
foreach (\Route::getRoutes() as $route) {
3026
/** @var \Illuminate\Routing\Route $route */

src/ServiceProvider.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
class ServiceProvider extends \Illuminate\Support\ServiceProvider
88
{
9-
protected $defer = true;
10-
119
public function register()
1210
{
1311
$this->app->register(RouteServiceProvider::class);

0 commit comments

Comments
 (0)