Example #1
0
 public function themes()
 {
     $available_themes = Themes::get_themes();
     $active_theme = Setting::first()->theme;
     if (empty($active_theme)) {
         $active_theme = 'default';
     }
     $data = array('themes' => $available_themes, 'active_theme' => $active_theme);
     return View::make('admin.sections.themes', $data);
 }