FEATURE: tweak form for creating new user

Added Foundation classes etc.
This commit is contained in:
Michal Kváček
2016-01-22 17:51:34 +01:00
parent 47aa9b15cb
commit 9517ff43d5
5 changed files with 51 additions and 40 deletions
@@ -7,17 +7,6 @@ use App\Models\User;
class CreateNewUserRequest extends Request
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return \Auth::check() && \Auth::$user->role == User::ROLE_ADMIN;
}
/**
* Get the validation rules that apply to the request.
*