Beispiel #1
0
 /**
  * Configuration of the website
  * @return View
  */
 public function getConfig()
 {
     $languages = TranslationLanguage::lists('name', 'code');
     if (!$this->user->hasAnyAccess(array('config.create', 'config.update'))) {
         App::abort('401');
     }
     $this->layout->title = 'Website Configuration';
     $this->layout->content = View::make($this->link_type . '.' . $this->current_theme . '.config')->with('languages', $languages);
 }