Skip to content

Commit

Permalink
Fix broken GET /plugins route
Browse files Browse the repository at this point in the history
  • Loading branch information
adsa95 committed Feb 12, 2017
1 parent 1a76f4b commit ff07da6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/Http/Controllers/PluginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

// Core
use Illuminate\Http\Request;
use Illuminate\Http\Response;

// Helpers
use Epoch2\HttpCodes;
Expand All @@ -14,11 +13,11 @@

class PluginController extends Controller
{
public function index(Request $request): Response
public function index(Request $request)
{
return response()->json(
Plugin::all(),
HttpCodes::HTTP_OK
);
}
}
}

0 comments on commit ff07da6

Please sign in to comment.