lesaff / statamic-useragent

User Agent addon for Statamic V2.x
4 stars 0 forks source link

fix for statamic 2.6 / clean up code #2

Closed rrelmy closed 7 years ago

rrelmy commented 7 years ago

This commit fixes the addon for statamic 2.6 I also did a small refactor to keep the addon DRY, the tag itself uses the api too to only have one point where the $data is assembled

I was so free to increase the version to 1.0.1

lesaff commented 7 years ago

Thx 👍