]> source.dussan.org Git - redmine.git/commitdiff
remove spaces inside {} of MembersController
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 22 Nov 2020 12:58:30 +0000 (12:58 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 22 Nov 2020 12:58:30 +0000 (12:58 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20469 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/members_controller.rb

index 8789469f6b1279ffa32231f7f6954a94b6911360..c24bdbd93cf57bd9890e1e4d85857f8970480e08 100644 (file)
@@ -36,14 +36,14 @@ class MembersController < ApplicationController
     @members =  scope.order(:id).limit(@limit).offset(@offset).to_a
 
     respond_to do |format|
-      format.html { head 406 }
+      format.html {head 406}
       format.api
     end
   end
 
   def show
     respond_to do |format|
-      format.html { head 406 }
+      format.html {head 406}
       format.api
     end
   end
@@ -66,7 +66,7 @@ class MembersController < ApplicationController
     end
 
     respond_to do |format|
-      format.html { redirect_to_settings_in_projects }
+      format.html {redirect_to_settings_in_projects}
       format.js do
         @members = members
         @member = Member.new
@@ -92,7 +92,7 @@ class MembersController < ApplicationController
     end
     saved = @member.save
     respond_to do |format|
-      format.html { redirect_to_settings_in_projects }
+      format.html {redirect_to_settings_in_projects}
       format.js
       format.api do
         if saved
@@ -109,7 +109,7 @@ class MembersController < ApplicationController
       @member.destroy
     end
     respond_to do |format|
-      format.html { redirect_to_settings_in_projects }
+      format.html {redirect_to_settings_in_projects}
       format.js
       format.api do
         if @member.destroyed?