original_string: public function trashed(Request $request)
      {
          // Set roles that have access
          $request->user()->authorizeRoles(['admin', 'editor']);
  
          $pages = Page::onlyTrashed()
              ->orderBy('updated_at', 'desc')
              ->orderBy('created_at', 'desc')
              ->with('pagetype')
              ->paginate(self::PAGINATION_ITEMS);
  
          return view('page::pages.trashed', ['pages' => $pages]);
      }
code: public function trashed(Request $request)
      {
          // Set roles that have access
          $request->user()->authorizeRoles(['admin', 'editor']);
  
          $pages = Page::onlyTrashed()
              ->orderBy('updated_at', 'desc')
              ->orderBy('created_at', 'desc')
              ->with('pagetype')
              ->paginate(self::PAGINATION_ITEMS);
  
          return view('page::pages.trashed', ['pages' => $pages]);
      }
code_tokens: public function trashed ( Request $ request ) { // Set roles that have access $ request -> user ( ) -> authorizeRoles ( [ 'admin' , 'editor' ] ) ; $ pages = Page :: onlyTrashed ( ) -> orderBy ( 'updated_at' , 'desc' ) -> orderBy ( 'created_at' , 'desc' ) -> with ( 'pagetype' ) -> paginate ( self :: PAGINATION_ITEMS ) ; return view ( 'page::pages.trashed' , [ 'pages' => $ pages ] ) ; }
docstring: Display a listing of trashed resources.
  @param Request $request
  @return Response
  @todo: This should be merged into index method
docstring_tokens: Display a listing of trashed resources .