]> git.openstreetmap.org Git - rails.git/blob - config/initializers/piwik.rb
Check the oauth token and then use the capabilities directly
[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