Commit 0085008d43faa303357f7cd8dfb23bd62869c7f9
1 parent
0ab9e1e9
Exists in
master
and in
29 other branches
Move theme js into head
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
app/helpers/layout_helper.rb
@@ -17,6 +17,8 @@ module LayoutHelper | @@ -17,6 +17,8 @@ module LayoutHelper | ||
17 | unless plugins_javascripts.empty? | 17 | unless plugins_javascripts.empty? |
18 | output += javascript_include_tag plugins_javascripts, :cache => "cache/plugins-#{Digest::MD5.hexdigest plugins_javascripts.to_s}" | 18 | output += javascript_include_tag plugins_javascripts, :cache => "cache/plugins-#{Digest::MD5.hexdigest plugins_javascripts.to_s}" |
19 | end | 19 | end |
20 | + output += theme_javascript_ng.to_s | ||
21 | + | ||
20 | output | 22 | output |
21 | end | 23 | end |
22 | 24 |
app/views/layouts/application-ng.html.erb
@@ -81,7 +81,6 @@ | @@ -81,7 +81,6 @@ | ||
81 | <%= theme_footer %> | 81 | <%= theme_footer %> |
82 | </div><!-- end id="theme-footer" --> | 82 | </div><!-- end id="theme-footer" --> |
83 | <%= noosfero_layout_features %> | 83 | <%= noosfero_layout_features %> |
84 | - <%= theme_javascript_ng %> | ||
85 | <%= addthis_javascript %> | 84 | <%= addthis_javascript %> |
86 | <%= | 85 | <%= |
87 | @plugins.dispatch(:body_ending).map do |content| | 86 | @plugins.dispatch(:body_ending).map do |content| |