예제 #1
0
 /**
  * Shows the add report form
  *
  * @return Response
  */
 public function add()
 {
     $data = array();
     $data['config_list'] = Configuration::getConfigList();
     return view($this->viewPath . 'new', $data);
 }
 /**
  * Shows the list of reports
  *
  * @return Response
  */
 public function index()
 {
     $data = array();
     $data['records'] = Configuration::getConfigList();
     return view($this->viewPath . 'list', $data);
 }