1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-19 15:01:14 +00:00

Code cleanup: RuboCop: Rails/Presence

git-svn-id: http://svn.redmine.org/redmine/trunk@18291 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2019-06-20 12:23:04 +00:00
parent c2b30f5d3d
commit d460f54d19

View File

@ -573,7 +573,7 @@ module IssuesHelper
case user_default_tab case user_default_tab
when 'last_tab_visited' when 'last_tab_visited'
cookies['history_last_tab'].present? ? cookies['history_last_tab'] : 'notes' cookies['history_last_tab'].presence || 'notes'
when '' when ''
'notes' 'notes'
else else