Commit 37d5eda9 authored by maeda's avatar maeda

Code cleanup: RuboCop: Rails/Presence


git-svn-id: https://svn.redmine.org/redmine/trunk@18291 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 194ff62d
......@@ -573,7 +573,7 @@ module IssuesHelper
case user_default_tab
when 'last_tab_visited'
cookies['history_last_tab'].present? ? cookies['history_last_tab'] : 'notes'
cookies['history_last_tab'].presence || 'notes'
when ''
'notes'
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment