From fe5523a9f6c55b14be700d6fcace8e74623c4670 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 22 Nov 2020 12:58:30 +0000 Subject: [PATCH] remove spaces inside {} of MembersController git-svn-id: http://svn.redmine.org/redmine/trunk@20469 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/members_controller.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/controllers/members_controller.rb b/app/controllers/members_controller.rb index 8789469f6..c24bdbd93 100644 --- a/app/controllers/members_controller.rb +++ b/app/controllers/members_controller.rb @@ -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? -- 2.39.5