aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/application_helper.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 22a7940eb..07bc01d6d 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -1,3 +1,10 @@
# Methods added to this helper will be available to all templates in the application.
module ApplicationHelper
+
+ # This was the best solution I could find to this, yeuch.
+ # http://www.ruby-forum.com/topic/88857
+ def stylesheet_link_tag_html4( _n )
+ return stylesheet_link_tag( _n ).gsub( ' />', '>' )
+ end
+
end