Backend\HomeController::getConfig PHP Method

getConfig() public method

Configuration of the website
public getConfig ( ) : Vie\View
return Vie\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);
    }