public function show(Post $post, User $user, Request $request, Comment $comment)
 {
     $post = Post::with('user.votes')->with('subreddit.moderators')->findOrFail($post->id);
     $ids = $post->subreddit;
     $check = $ids->moderators()->where('user_id', Auth::id())->first();
     $isModerator = $check ? true : false;
     $modList = Moderator::where('subreddit_id', '=', $post->subreddit->id)->get();
     $view_data = CommentController::view_data($request, $post, $comment, $isModerator);
     return view('post/show', $view_data)->with('post', $post)->with('modList', $modList)->with('isModerator', $isModerator);
 }
 public function index(Request $request, Post $post, Comment $comment)
 {
     $view_data = CommentController::view_data($request, $post->id);
     return view('eastgate.comment.leave_a_comment', $view_data);
 }