/** * Store a newly created theme in storage. * * @return Response */ public function store() { $input = Input::all(); if (!isset($input['file'])) { return Redirect::back()->with('error_message', trans('error_messages.theme_file_select')); } $theme_installer = new ThemeInstaller($this, $input); return $theme_installer->installTheme(); }