diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-10-11 12:56:36 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-10-11 12:56:36 +0000 |
commit | a6b68a82c63c8a453ed4b469d6ac98c70aa5df1a (patch) | |
tree | b7e090a4c306d6e707392578a020ed75e2902f48 /app/controllers/application_controller.rb | |
parent | 9fbbfd6017982645fb28872a54c1afd5584fb038 (diff) | |
download | redmine-a6b68a82c63c8a453ed4b469d6ac98c70aa5df1a.tar.gz redmine-a6b68a82c63c8a453ed4b469d6ac98c70aa5df1a.zip |
add space after comma to ApplicationController
git-svn-id: http://svn.redmine.org/redmine/trunk@20134 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index c14b82108..c08a238bd 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -412,10 +412,10 @@ class ApplicationController < ActionController::Base end def parse_params_for_bulk_update(params) - attributes = (params || {}).reject {|k,v| v.blank?} + attributes = (params || {}).reject {|k, v| v.blank?} attributes.keys.each {|k| attributes[k] = '' if attributes[k] == 'none'} if custom = attributes[:custom_field_values] - custom.reject! {|k,v| v.blank?} + custom.reject! {|k, v| v.blank?} custom.keys.each do |k| if custom[k].is_a?(Array) custom[k] << '' if custom[k].delete('__none__') @@ -599,7 +599,7 @@ class ApplicationController < ActionController::Base def render_feed(items, options={}) @items = (items || []).to_a - @items.sort! {|x,y| y.event_datetime <=> x.event_datetime } + @items.sort! {|x, y| y.event_datetime <=> x.event_datetime} @items = @items.slice(0, Setting.feeds_limit.to_i) @title = options[:title] || Setting.app_title render :template => "common/feed", :formats => [:atom], :layout => false, |