/**
  * Display a listing of the contributor.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $contributor = new Contributor();
     /*
      * --------------------------------------------------------------------------
      * Filtering contributor
      * --------------------------------------------------------------------------
      * Populate optional filter on url break down into data, sorting by, sorting
      * method, and search query, then retrieve the contributor.
      */
     $filter_by = Input::has('by') ? Input::get('by') : 'date';
     $filter_sort = Input::has('sort') ? Input::get('sort') : 'desc';
     $query = Input::has('query') ? Input::get('query') : null;
     $contributors = $contributor->retrieveContributor($filter_by, $filter_sort, $query);
     return view('admin.contributor.index', compact('contributors'));
 }