Skip to content

Commit

Permalink
fix: ml << stylesheet_link_tag File.join(MARKITUP_ASSETS_BASE,
Browse files Browse the repository at this point in the history
  • Loading branch information
antono committed Jul 29, 2009
1 parent 3bcfc0b commit 8acd193
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/markitup_helper.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ def include_markitup_assets(options = {})
options[:sets] ||= 'default' options[:sets] ||= 'default'
options[:skin] ||= 'markitup' options[:skin] ||= 'markitup'
html = [] html = []
html << javascript_include_tag File.join(MARKITUP_ASSETS_BASE, 'jquery.markitup.pack.js') 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 << 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, 'skins', options[:skin].to_s, 'style.css'))
html << stylesheet_link_tag File.join(MARKITUP_ASSETS_BASE, 'sets', options[:sets].to_s, 'style.css') html << stylesheet_link_tag(File.join(MARKITUP_ASSETS_BASE, 'sets', options[:sets].to_s, 'style.css'))
html.join("\n") html.join("\n")
end end


Expand Down
1 change: 0 additions & 1 deletion lib/markitup_rails.rb

This file was deleted.

0 comments on commit 8acd193

Please sign in to comment.