Skip to content

Commit

Permalink
Minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
asvae committed Jul 18, 2016
1 parent f2b57dd commit ba96be6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ php artisan vendor:publish --provider="Asvae\ApiTester\ServiceProvider"
And edit `config/api-tester.php` as you please.

## Features
* Display all the routes for application.
* Display routes for your application.
* Live search and sortable columns.
* CSRF token is handled for you.
* Define request body in [JSON editor](https://github.com/josdejong/jsoneditor).
Expand Down
4 changes: 0 additions & 4 deletions src/Http/Controllers/ApiTesterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ public function index()

public function routes()
{
if (! config('app.debug')) {
abort(404);
}

$routes = [];
foreach (\Route::getRoutes() as $route) {
/** @var \Illuminate\Routing\Route $route */
Expand Down
2 changes: 0 additions & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

class ServiceProvider extends \Illuminate\Support\ServiceProvider
{
protected $defer = true;

public function register()
{
$this->app->register(RouteServiceProvider::class);
Expand Down

0 comments on commit ba96be6

Please sign in to comment.