lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb in fullstack-cms-0.4.2 vs lib/generators/fullstack/cms/templates/rails/app/views/site/_javascripts.html.erb in fullstack-cms-0.4.3
- old
+ new
@@ -6,10 +6,10 @@
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
- js.src = "//connect.facebook.net/it_IT/all.js#xfbml=1&appId=<%= get_setting(:facebook_app_id, :locale => false) %>";
+ js.src = "//connect.facebook.net/it_IT/all.js#xfbml=1&appId=<%= setting(:facebook_app_id, :locale => false) %>";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<% [:notice, :error, :alert].each do |sym| %>