diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-21 14:14:28 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-09-21 14:14:28 +0000 |
commit | 8fb0ec3c3ba03d94789a70ca68692911548e7aa9 (patch) | |
tree | 3e54be4a4f58189daf491745dbb0a34df707614c /app | |
parent | fe78039aea6b8b5c34cff605913eed576173e762 (diff) | |
download | redmine-8fb0ec3c3ba03d94789a70ca68692911548e7aa9.tar.gz redmine-8fb0ec3c3ba03d94789a70ca68692911548e7aa9.zip |
code cleanup: rubocop: fix Style/RedundantConditional in app/helpers/issues_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18502 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/issues_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index 45ce59a52..10c179550 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -370,7 +370,7 @@ module IssuesHelper # Returns the textual representation of a journal details # as an array of strings def details_to_strings(details, no_html=false, options={}) - options[:only_path] = (options[:only_path] == false ? false : true) + options[:only_path] = !(options[:only_path] == false) strings = [] values_by_field = {} details.each do |detail| |