1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-31 20:59:38 +00:00

add empty line after guard clause to WatchersHelper

git-svn-id: http://svn.redmine.org/redmine/trunk@20235 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2020-11-03 14:55:42 +00:00
parent 8de9cd47e4
commit b43695530d

View File

@ -21,6 +21,7 @@ module WatchersHelper
def watcher_link(objects, user)
return '' unless user && user.logged?
objects = Array.wrap(objects)
return '' unless objects.any?