]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of EnumerationsController
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 19 Nov 2020 13:30:54 +0000 (13:30 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 19 Nov 2020 13:30:54 +0000 (13:30 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20436 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/enumerations_controller.rb

index 0eda91e6903f3e03159cca6b0de0a9af5c6b2adc..0fee5df99c276da3ea6f5f268c900acae7599a40 100644 (file)
@@ -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