forked from saurabh/orbit4-5
rescue nil for render_google_analytics
This commit is contained in:
parent
ba3219c704
commit
91e8d87d59
|
@ -46,7 +46,7 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
def render_google_analytics
|
||||
Site.first.google_analytics.html_safe
|
||||
Site.first.google_analytics.html_safe rescue ""
|
||||
end
|
||||
|
||||
def render_footer
|
||||
|
|
Loading…
Reference in New Issue