diff options
Diffstat (limited to 'app/controllers/admin/appearances_controller.rb')
-rw-r--r-- | app/controllers/admin/appearances_controller.rb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/app/controllers/admin/appearances_controller.rb b/app/controllers/admin/appearances_controller.rb index 189fee98aa0..664bb99c95c 100644 --- a/app/controllers/admin/appearances_controller.rb +++ b/app/controllers/admin/appearances_controller.rb @@ -7,24 +7,24 @@ class Admin::AppearancesController < Admin::ApplicationController end def preview_sign_in - render 'preview_sign_in', layout: 'devise' + render "preview_sign_in", layout: "devise" end def create @appearance = Appearance.new(appearance_params) if @appearance.save - redirect_to admin_appearances_path, notice: 'Appearance was successfully created.' + redirect_to admin_appearances_path, notice: "Appearance was successfully created." else - render action: 'show' + render action: "show" end end def update if @appearance.update(appearance_params) - redirect_to admin_appearances_path, notice: 'Appearance was successfully updated.' + redirect_to admin_appearances_path, notice: "Appearance was successfully updated." else - render action: 'show' + render action: "show" end end @@ -33,21 +33,21 @@ class Admin::AppearancesController < Admin::ApplicationController @appearance.save - redirect_to admin_appearances_path, notice: 'Logo was successfully removed.' + redirect_to admin_appearances_path, notice: "Logo was successfully removed." end def header_logos @appearance.remove_header_logo! @appearance.save - redirect_to admin_appearances_path, notice: 'Header logo was successfully removed.' + redirect_to admin_appearances_path, notice: "Header logo was successfully removed." end def favicon @appearance.remove_favicon! @appearance.save - redirect_to admin_appearances_path, notice: 'Favicon was successfully removed.' + redirect_to admin_appearances_path, notice: "Favicon was successfully removed." end private |