update for version 1.0.2

This commit is contained in:
sujitprasad
2015-11-30 16:38:59 +05:30
parent d0a69a8df1
commit 7e17edab1e
425 changed files with 14241 additions and 3410 deletions

View File

@@ -0,0 +1,30 @@
<?php namespace App\Http\Requests\kb;
use App\Http\Requests\Request;
class CommentRequest extends Request {
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize() {
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules() {
return [
'name' => 'required|max:50',
'email' => 'required|email',
'website' => 'url',
'comment' => 'required|max:500',
];
}
}