summaryrefslogtreecommitdiffstats
path: root/lib/redmine/views
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-21 13:52:30 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-21 13:52:30 +0000
commitc55c473c09ce2c1f42bd016a5347b707dbbccf21 (patch)
treea27613041391dd57b634d684388dea2b4ac985dc /lib/redmine/views
parent1974d79a2afe79176781507c36c579ad29f56e81 (diff)
downloadredmine-c55c473c09ce2c1f42bd016a5347b707dbbccf21.tar.gz
redmine-c55c473c09ce2c1f42bd016a5347b707dbbccf21.zip
remove spaces inside {} of lib/redmine/views/other_formats_builder.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20461 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/views')
-rw-r--r--lib/redmine/views/other_formats_builder.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/redmine/views/other_formats_builder.rb b/lib/redmine/views/other_formats_builder.rb
index 6eb1d312f..a7d793861 100644
--- a/lib/redmine/views/other_formats_builder.rb
+++ b/lib/redmine/views/other_formats_builder.rb
@@ -25,9 +25,9 @@ module Redmine
end
def link_to(name, options={})
- url = { :format => name.to_s.downcase }.merge(options.delete(:url) || {}).except('page')
+ url = {:format => name.to_s.downcase}.merge(options.delete(:url) || {}).except('page')
caption = options.delete(:caption) || name
- html_options = { :class => name.to_s.downcase, :rel => 'nofollow' }.merge(options)
+ html_options = {:class => name.to_s.downcase, :rel => 'nofollow'}.merge(options)
@view.content_tag('span', @view.link_to(caption, url, html_options))
end
@@ -37,7 +37,7 @@ module Redmine
url = {:params => params, :page => nil, :format => name.to_s.downcase}.merge(url)
caption = options.delete(:caption) || name
- html_options = { :class => name.to_s.downcase, :rel => 'nofollow' }.merge(options)
+ html_options = {:class => name.to_s.downcase, :rel => 'nofollow'}.merge(options)
@view.content_tag('span', @view.link_to(caption, url, html_options))
end
end