/**
  * Store a newly created resource in storage.
  *
  * @param Requests\CommentFormRequest|Request $request
  * @return Response
  */
 public function store(Request $request)
 {
     $comment = new Models\Comment();
     $comment->content = $request->get('content');
     $comment->ticket_id = $request->get('ticket_id');
     $comment->user_id = \Auth::user()->id;
     $comment->save();
     $ticket = Models\Ticket::find($comment->ticket_id);
     $ticket->updated_at = $comment->created_at;
     $ticket->save();
     return back()->with('status', trans('ticketit::lang.comment-has-been-added-ok'));
 }
 /**
  * Store a newly created resource in storage.
  *
  * @param Requests\CommentFormRequest|Request $request
  * @return Response
  */
 public function store(Request $request)
 {
     $comment = new Models\Comment();
     $comment->content = $request->get('content');
     $comment->ticket_id = $request->get('ticket_id');
     $comment->user_id = \Auth::user()->id;
     $comment->save();
     $ticket = Models\Ticket::find($comment->ticket_id);
     $ticket->updated_at = $comment->created_at;
     $ticket->save();
     return back()->with('status', 'Comment has been added successfully');
 }