Skip to content
Browse files

fix: ml << stylesheet_link_tag File.join(MARKITUP_ASSETS_BASE,

  • Loading branch information...
1 parent 3bcfc0b commit 8acd1933018e17c968c01e59477270f5146a762c @antono committed Jul 29, 2009
Showing with 4 additions and 5 deletions.
  1. +4 −4 lib/markitup_helper.rb
  2. +0 −1 lib/markitup_rails.rb
View
8 lib/markitup_helper.rb
@@ -4,10 +4,10 @@ def include_markitup_assets(options = {})
options[:sets] ||= 'default'
options[:skin] ||= 'markitup'
html = []
- html << javascript_include_tag File.join(MARKITUP_ASSETS_BASE, 'jquery.markitup.pack.js')
- html << javascript_include_tag File.join(MARKITUP_ASSETS_BASE, 'sets', options[:sets].to_s, 'set.js')
- html << stylesheet_link_tag File.join(MARKITUP_ASSETS_BASE, 'skins', options[:skin].to_s, 'style.css')
- html << stylesheet_link_tag File.join(MARKITUP_ASSETS_BASE, 'sets', options[:sets].to_s, 'style.css')
+ html << javascript_include_tag(File.join(MARKITUP_ASSETS_BASE, 'jquery.markitup.pack.js'))
+ html << javascript_include_tag(File.join(MARKITUP_ASSETS_BASE, 'sets', options[:sets].to_s, 'set.js'))
+ html << stylesheet_link_tag(File.join(MARKITUP_ASSETS_BASE, 'skins', options[:skin].to_s, 'style.css'))
+ html << stylesheet_link_tag(File.join(MARKITUP_ASSETS_BASE, 'sets', options[:sets].to_s, 'style.css'))
html.join("\n")
end
View
1 lib/markitup_rails.rb
@@ -1 +0,0 @@
-# MarkitupRails

0 comments on commit 8acd193

Please sign in to comment.
Something went wrong with that request. Please try again.