limit max title length to 80 characters

This commit is contained in:
Lorenz Bausch 2015-08-29 11:26:18 +02:00
parent c9bac2ed03
commit 4af20f8101

View File

@ -46,7 +46,7 @@ class Discussion extends Model
* @var array
*/
protected $rules = [
'title' => 'required',
'title' => 'required|max:80',
'start_time' => 'required|date',
'comments_count' => 'integer',
'participants_count' => 'integer',