rescue nil for render_google_analytics

This commit is contained in:
manson 2014-07-08 15:00:59 +08:00
parent ba3219c704
commit 91e8d87d59
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ module ApplicationHelper
end end
def render_google_analytics def render_google_analytics
Site.first.google_analytics.html_safe Site.first.google_analytics.html_safe rescue ""
end end
def render_footer def render_footer