Commit 0c959701fa589e4b1ecf74e5c597c682e3c00d33
1 parent
6425451c
Exists in
master
and in
29 other branches
Moving addthis script to a helper method
Showing
2 changed files
with
7 additions
and
3 deletions
Show diff stats
app/helpers/layout_helper.rb
app/views/layouts/application-ng.rhtml
... | ... | @@ -57,8 +57,6 @@ |
57 | 57 | </div><!-- end id="theme-footer" --> |
58 | 58 | <%= noosfero_layout_features %> |
59 | 59 | <%= theme_javascript_ng %> |
60 | - <% if NOOSFERO_CONF['addthis_enabled'] %> | |
61 | - <script src="http://s7.addthis.com/js/152/addthis_widget.js"></script> | |
62 | - <% end %> | |
60 | + <%= addthis_javascript %> | |
63 | 61 | </body> |
64 | 62 | </html> | ... | ... |