/**
  * Creates a new dashboard
  */
 public function createAction()
 {
     $variables = new Variables();
     $variables->name = $this->request->getPost("name");
     $variables->values = $this->request->getPost("values");
     $variables->default_value = "";
     $variables->organisation_id = $this->request->getPost("organisation_id");
     if (!$variables->save()) {
         foreach ($variables->getMessages() as $message) {
             $this->flash->error($message);
         }
         return $this->dispatcher->forward(array("controller" => "dashboard", "action" => "index"));
     }
     $this->flash->success("Link was created successfully");
     return $this->dispatcher->forward(array("controller" => "dashboard", "action" => "index"));
 }