]> git.openstreetmap.org Git - rails.git/blob - config/initializers/piwik.rb
Move more api-only methods into api_controller
[rails.git] / config / initializers / piwik.rb
1 require "yaml"
2
3 if File.exist?(piwik_file = File.expand_path("../piwik.yml", __dir__))
4   PIWIK = YAML.load_file(piwik_file)
5 end