Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function authorize()
- {
- return true;
- }
- /**
- * Get the validation rules that apply to the request.
- *
- * @return array
- */
- public function rules()
- {
- return [
- //
- 'subject' => 'required',
- 'name' => 'required',
- 'email' => 'email|required',
- 'phone' => 'required',
- 'message' => 'required'
- ];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement