summaryrefslogtreecommitdiffstats
path: root/lib/redmine/safe_attributes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine/safe_attributes.rb')
-rw-r--r--lib/redmine/safe_attributes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/safe_attributes.rb b/lib/redmine/safe_attributes.rb
index 387b93e25..095e18195 100644
--- a/lib/redmine/safe_attributes.rb
+++ b/lib/redmine/safe_attributes.rb
@@ -76,7 +76,7 @@ module Redmine
# # => {'title' => 'My book'}
def delete_unsafe_attributes(attrs, user=User.current)
safe = safe_attribute_names(user)
- attrs.dup.delete_if {|k,v| !safe.include?(k.to_s)}
+ attrs.dup.delete_if {|k, v| !safe.include?(k.to_s)}
end
# Sets attributes from attrs that are safe