45873431e4
* Add public/private pages #641 * Cleanup the form requests
15 lines
214 B
PHP
15 lines
214 B
PHP
<?php
|
|
|
|
namespace App\Http\Requests;
|
|
|
|
use App\Contracts\FormRequest;
|
|
use App\Models\Role;
|
|
|
|
class CreateRoleRequest extends FormRequest
|
|
{
|
|
public function rules(): array
|
|
{
|
|
return Role::$rules;
|
|
}
|
|
}
|