summaryrefslogtreecommitdiffstats
path: root/app/controllers/principal_memberships_controller.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-22 13:44:06 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-22 13:44:06 +0000
commitff49bb06c08738ed98430e9df7359bfbd6381d40 (patch)
tree0a7c4825bd85d14747fc7d6c97ec168391d48820 /app/controllers/principal_memberships_controller.rb
parent29de4e73b39b92432f8b75a7ddc44e6ade0f4ba0 (diff)
downloadredmine-ff49bb06c08738ed98430e9df7359bfbd6381d40.tar.gz
redmine-ff49bb06c08738ed98430e9df7359bfbd6381d40.zip
remove spaces inside {} of PrincipalMembershipsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20483 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/principal_memberships_controller.rb')
-rw-r--r--app/controllers/principal_memberships_controller.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/principal_memberships_controller.rb b/app/controllers/principal_memberships_controller.rb
index 381822fcb..52ff6de3e 100644
--- a/app/controllers/principal_memberships_controller.rb
+++ b/app/controllers/principal_memberships_controller.rb
@@ -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