Use more logical route binding to not reveal resources on the API unless authenticated.
This commit is contained in:
parent
17544481b5
commit
3e327b8b0e
4 changed files with 72 additions and 35 deletions
|
@ -16,14 +16,6 @@ class RouteServiceProvider extends ServiceProvider
|
|||
*/
|
||||
protected $namespace = 'Pterodactyl\Http\Controllers';
|
||||
|
||||
/**
|
||||
* Define your route model bindings, pattern filters, etc.
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
parent::boot();
|
||||
}
|
||||
|
||||
/**
|
||||
* Define the routes for the application.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue