summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-18 16:15:50 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-18 16:15:50 +0000
commitb1787a3c7de6e106ff2328c7ba90704207d2a749 (patch)
treee3fe9e85316499d50f5df01dd86fcb87b699b21d /app
parent3b36e37fd7841c0973582b3e05c425e7bfd27003 (diff)
downloadredmine-b1787a3c7de6e106ff2328c7ba90704207d2a749.tar.gz
redmine-b1787a3c7de6e106ff2328c7ba90704207d2a749.zip
remove spaces inside {} of CustomFieldsController
git-svn-id: http://svn.redmine.org/redmine/trunk@20420 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/custom_fields_controller.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/controllers/custom_fields_controller.rb b/app/controllers/custom_fields_controller.rb
index 478b0dffb..893bc4819 100644
--- a/app/controllers/custom_fields_controller.rb
+++ b/app/controllers/custom_fields_controller.rb
@@ -29,7 +29,7 @@ class CustomFieldsController < ApplicationController
def index
respond_to do |format|
format.html do
- @custom_fields_by_type = CustomField.all.group_by {|f| f.class.name }
+ @custom_fields_by_type = CustomField.all.group_by {|f| f.class.name}
@custom_fields_projects_count =
IssueCustomField.where(is_for_all: false).joins(:projects).group(:custom_field_id).count
end
@@ -70,12 +70,12 @@ class CustomFieldsController < ApplicationController
flash[:notice] = l(:notice_successful_update)
redirect_back_or_default edit_custom_field_path(@custom_field)
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