/** * Setup the layout used by the controller. * * @return void */ public function index() { $data = array('admin_user' => Auth::user(), 'themes' => ThemeHelper::get_themes(), 'active_theme' => Setting::first()->theme); return View::make('admin.themes.index', $data); }