app/Http/Controllers/ArticleCommentController.php
/**
     * Remove the specified resource from storage.
     *
     * @param Article $article
     * @param ArticleComment $articleComment
     * @return Response
     */
Remove the specified resource from storage.
@param Article $article
@param ArticleComment $articleComment
@return Response
Remove the specified resource from storage . @param Article $article @param ArticleComment $articleComment @return Response
public function destroy(Article $article, ArticleComment $articleComment)
    {
        if ($article->authorized_comment && $articleComment->is_mine) {
            $articleComment->forceDelete();
            session()->flash('status', trans('article.comment.submit_comment.comment.delete'));
        }
        return redirect()->route('article.show', [$article, $article->slug]);
    }
public function destroy ( Article $ article , ArticleComment $ articleComment ) { if ( $ article -> authorized_comment && $ articleComment -> is_mine ) { $ articleComment -> forceDelete ( ) ; session ( ) -> flash ( 'status' , trans ( 'article.comment.submit_comment.comment.delete' ) ) ; } return redirect ( ) -> route ( 'article.show' , [ $ article , $ article -> slug ] ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .