From 7aea831a10b35300998db8d370a041e922571e35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Miko=C5=82ajczak?= Date: Fri, 1 Jun 2018 22:52:09 +0200 Subject: [PATCH] Add character limit info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Mikołajczak --- app/Http/Controllers/StatusController.php | 6 +++--- resources/views/timeline/personal.blade.php | 2 +- resources/views/timeline/public.blade.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/Http/Controllers/StatusController.php b/app/Http/Controllers/StatusController.php index 1b8e4bfbc..3fd399236 100644 --- a/app/Http/Controllers/StatusController.php +++ b/app/Http/Controllers/StatusController.php @@ -30,9 +30,9 @@ class StatusController extends Controller $user = Auth::user(); $this->validate($request, [ - 'photo' => 'required|image|max:15000', - 'caption' => 'string|max:150', - 'nullable' => 'string|max:420' + 'photo' => 'required|image|max:15000', + 'caption' => 'string|max:150', + 'description' => 'nullable|string|max:420' ]); $monthHash = hash('sha1', date('Y') . date('m')); diff --git a/resources/views/timeline/personal.blade.php b/resources/views/timeline/personal.blade.php index a44941ba1..e9ab29be8 100644 --- a/resources/views/timeline/personal.blade.php +++ b/resources/views/timeline/personal.blade.php @@ -32,7 +32,7 @@
- +
diff --git a/resources/views/timeline/public.blade.php b/resources/views/timeline/public.blade.php index fcdbbf2d3..1761c3181 100644 --- a/resources/views/timeline/public.blade.php +++ b/resources/views/timeline/public.blade.php @@ -32,7 +32,7 @@
- +