1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-19 22:02:56 +00:00

cleanup: rubocop: fix Layout/SpaceAfterComma in app/helpers/application_helper.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@19273 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2019-11-24 16:45:22 +00:00
parent d81846ccc9
commit 504cb8e147

View File

@ -423,7 +423,7 @@ module ApplicationHelper
# Renders flash messages
def render_flash_messages
s = +''
flash.each do |k,v|
flash.each do |k, v|
s << content_tag('div', v.html_safe, :class => "flash #{k}", :id => "flash_#{k}")
end
s.html_safe
@ -1629,7 +1629,7 @@ module ApplicationHelper
# TODO: use #image_url introduced in Rails4
path = favicon_path
base = url_for(:controller => 'welcome', :action => 'index', :only_path => false)
base.sub(%r{/+$},'') + '/' + path.sub(%r{^/+},'')
base.sub(%r{/+$}, '') + '/' + path.sub(%r{^/+}, '')
end
def robot_exclusion_tag