From: Toshi MARUYAMA Date: Thu, 19 Nov 2020 13:30:54 +0000 (+0000) Subject: remove spaces inside {} of EnumerationsController X-Git-Tag: 4.2.0~382 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1b1016ae8be5cdb40e3ecef8aa99b94b8167dad2;p=redmine.git remove spaces inside {} of EnumerationsController git-svn-id: http://svn.redmine.org/redmine/trunk@20436 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/enumerations_controller.rb b/app/controllers/enumerations_controller.rb index 0eda91e69..0fee5df99 100644 --- a/app/controllers/enumerations_controller.rb +++ b/app/controllers/enumerations_controller.rb @@ -65,12 +65,12 @@ class EnumerationsController < ApplicationController flash[:notice] = l(:notice_successful_update) redirect_to enumerations_path end - format.js { head 200 } + format.js {head 200} end else respond_to do |format| - format.html { render :action => 'edit' } - format.js { head 422 } + format.html {render :action => 'edit'} + format.js {head 422} end end end