Browse Source

Code cleanup: RuboCop: Rails/Presence


git-svn-id: http://svn.redmine.org/redmine/trunk@18291 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.1.0
Go MAEDA 5 years ago
parent
commit
d460f54d19
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/helpers/issues_helper.rb

+ 1
- 1
app/helpers/issues_helper.rb View File

@@ -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

Loading…
Cancel
Save