allows nil values in per_page_js setting

This commit is contained in:
kikito
2015-12-22 15:38:16 +01:00
parent e9ca76f34d
commit 963e33005b

View File

@@ -17,7 +17,7 @@
<%= content_for :social_media_meta_tags %>
<%= javascript_tag do %>
<%= Setting.value_for(:per_page_javascript).html_safe %>
<%= Setting.value_for(:per_page_javascript).try(:html_safe) %>
<% end %>
</head>