Commit 19c69ed5 authored by cygnet's avatar cygnet

Merge branch 'develop' of git://github.com/viralsolani/laravel-adminpanel into develop

parents 30418788 960ad582
......@@ -68,10 +68,10 @@ class FaqsController extends APIController
}
/**
* Update Faq
*
* @param Faq $faq
* @param Request $request
* Update Faq.
*
* @param Faq $faq
* @param Request $request
*
* @return \Illuminate\Http\JsonResponse
*/
......@@ -90,13 +90,11 @@ class FaqsController extends APIController
return new FaqsResource($faq);
}
/**
* Delete Faq
*
* @param Faq $faq
* @param Request $request
* Delete Faq.
*
* @param Faq $faq
* @param Request $request
*
* @return \Illuminate\Http\JsonResponse
*/
......@@ -120,7 +118,7 @@ class FaqsController extends APIController
{
$validation = Validator::make($request->all(), [
'question' => 'required|max:191',
'answer' => 'required',
'answer' => 'required',
]);
return $validation;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment