public function update(Requests\SubredditRequest $request, Subreddit $subreddit)
 {
     if (Gate::denies('update-sub', $subreddit)) {
         return 'no';
     } else {
         $subreddit->update($request->all());
         return redirect('/subreddit');
     }
 }
 /**
  * Store a newly created resource in storage.
  *
  * @param Requests\SubredditRequest|Request $request
  * @return Response
  */
 public function store(Requests\SubredditRequest $request)
 {
     Auth::user()->subreddit()->create($request->all());
     return redirect('/');
 }