Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function patch(StoreArticleRequest $request, Article $article)
- {
- $article->update([
- 'title' => $request->title,
- 'description' => $request->description,
- 'body' => $request->body,
- 'allow_reactions' => $request->has('allow_reactions')
- ]);
- Session::flash('notification', ['type' => 'success', 'message' => trans('lightning.article-succesfull-edited')]);
- return redirect()->back();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement