Remove inline javascript from page header

This commit is contained in:
Tom Hughes 2017-03-01 21:19:32 +00:00
parent 293fb99467
commit d7b4f88d5e
5 changed files with 56 additions and 28 deletions

View file

@ -16,6 +16,7 @@ OSM = {
MAPQUEST_DIRECTIONS_URL: <%= MAPQUEST_DIRECTIONS_URL.to_json %>,
MAPZEN_VALHALLA_URL: <%= MAPZEN_VALHALLA_URL.to_json %>,
OSRM_URL: <%= OSRM_URL.to_json %>,
DEFAULT_LOCALE: <%= I18n.default_locale.to_json %>,
<% if defined?(MAPQUEST_KEY) %>
MAPQUEST_KEY: <%= MAPQUEST_KEY.to_json %>,