/**
  * [index description]
  * @return [type] [description]
  */
 public function index()
 {
     $limit = Input::get('limit') ?: null;
     $documents = Document::paginate($limit);
     return $this->respondWithPagination($documents, $this->documentTransformer->transformCollection($documents->all()));
 }