Skip to content

Commit

Permalink
uses after_javascript_libraries block to allow wym editor to be custo…
Browse files Browse the repository at this point in the history
…mized on a page by page basis
  • Loading branch information
bryanmtl committed Feb 22, 2011
1 parent aa1c49b commit 6c4acae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/app/views/admin/_javascripts.html.erb
Expand Up @@ -17,10 +17,9 @@
'jquery/jquery.jcarousel.js',
:cache => ("cache/jquery-plugins" if js_caching) unless login -%>
<%= yield :after_javascript_libraries -%>
<%= javascript_include_tag 'wymeditor/jquery.refinery.wymeditor.js', 'admin' %>
<%= yield :customize_wym -%>
<%= yield :after_javascript_libraries -%>
<%= javascript_include_tag 'refinery/boot_wym',
'refinery/core',
'refinery/site_bar',
Expand Down

0 comments on commit 6c4acae

Please sign in to comment.