From 61edaa5bcd93515bd20d7455c0725aa49cd3d9d1 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sun, 13 Feb 2022 01:06:38 +0100 Subject: [PATCH] Fix hound nits --- app/controllers/user_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/user_controller.rb b/app/controllers/user_controller.rb index ad756683..1ea2030b 100644 --- a/app/controllers/user_controller.rb +++ b/app/controllers/user_controller.rb @@ -158,12 +158,12 @@ class UserController < ApplicationController if current_user.theme.save flash[:success] = t(".success") else - flash[:error] = t(".error", errors: current_user.theme.errors.messages.flatten.join(' ')) + flash[:error] = t(".error", errors: current_user.theme.errors.messages.flatten.join(" ")) end elsif current_user.theme.update(update_attributes) flash[:success] = t(".success") else - flash[:error] = t(".error", errors: current_user.theme.errors.messages.flatten.join(' ')) + flash[:error] = t(".error", errors: current_user.theme.errors.messages.flatten.join(" ")) end redirect_to edit_user_theme_path end