halfdan / piwik-ruby-tracking

A Ruby Gem that allows you to add the Piwik Tracking Code to Sinatra, Padrinorb and Rails
MIT License
52 stars 33 forks source link

Use `template` instead of `file` to render the piwik template #28

Closed ragesoss closed 2 years ago

ragesoss commented 3 years ago

This makes the gem compatible with Rails 6.1, which removed support for passing a relative path to file.

Fixes https://github.com/halfdan/piwik-ruby-tracking/issues/27