Browse Source

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
tags/4.2.0
Toshi MARUYAMA 4 years ago
parent
commit
504cb8e147
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      app/helpers/application_helper.rb

+ 2
- 2
app/helpers/application_helper.rb 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

Loading…
Cancel
Save