/**
  * The POST method for setting a user's rows per page
  *
  * @param string	$modelName
  *
  * @return JSON
  */
 public function rowsPerPage($modelName)
 {
     $dataTable = App::make('admin_datatable');
     //get the inputted rows and the model rows
     $rows = (int) Input::get('rows', 20);
     $dataTable->setRowsPerPage(App::make('session.store'), 0, $rows);
     return Response::JSON(array('success' => true));
 }