Maintain consistency
elviskc091 opened this issue · 1 comments
elviskc091 commented
Try to maintain consistency through out your controller and everything in general.
Here you are using
$coupon->save()
While in other controllers like PageController update method you are using
$page->update($request->all());
By the way avoid using $request->all() for security reasons. :)
So in the end have something like $coupon->update($request->only('foo', 'bar'));
alijumaan commented
Done