<?php namespace App\Http\Requests;
 
use Illuminate\Foundation\Http\FormRequest;
 
class PermissionRequest extends FormRequest {
    public function rules() {
        return [
		    'name' => 'required',
		    'display_name' => 'required',
        ];
    }
 
    public function authorize() {
        return true;
    }
}