Project

General

Profile

« Previous | Next » 

Revision b55bbb7f

Added by Ohad Levy about 13 years ago

  • ID b55bbb7fd727b44ef797da7ea7b50c9bc155c33b

fixes #793 - Including non-https version of Google jsapi causing SSL warning

View differences:

app/helpers/application_helper.rb
# a simple helper to load the google JS only on pages which requires it
def gcharts_script
content_for :head do
"<script src=http://www.google.com/jsapi></script>"
"<script src=#{request.protocol}www.google.com/jsapi></script>"
end
end

Also available in: Unified diff