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

app/controllers/principal_memberships_controller.rb

index 381822fcb8640c63c38aeeec77b7213429cdd022..52ff6de3eab35512dd84cfa7522a61306b7558a2 100644 (file)
@@ -39,7 +39,7 @@ class PrincipalMembershipsController < ApplicationController
   def create
     @members = Member.create_principal_memberships(@principal, params[:membership])
     respond_to do |format|
-      format.html { redirect_to_principal @principal }
+      format.html {redirect_to_principal @principal}
       format.js
     end
   end
@@ -52,7 +52,7 @@ class PrincipalMembershipsController < ApplicationController
     @membership.attributes = params.require(:membership).permit(:role_ids => [])
     @membership.save
     respond_to do |format|
-      format.html { redirect_to_principal @principal }
+      format.html {redirect_to_principal @principal}
       format.js
     end
   end
@@ -62,7 +62,7 @@ class PrincipalMembershipsController < ApplicationController
       @membership.destroy
     end
     respond_to do |format|
-      format.html { redirect_to_principal @principal }
+      format.html {redirect_to_principal @principal}
       format.js
     end
   end