doublesecretagency / craft-viewcount

View Count plugin for Craft CMS
Other
6 stars 4 forks source link

allow anonymous on controller #3

Closed xhuang9 closed 5 years ago

xhuang9 commented 5 years ago

I am trying to increment view by Ajax when user interact the page.

Can you add line: protected $allowAnonymous = true; in src/controllers/IncrementController.php

Thanks very much. Great plugin.

lindseydiloreto commented 5 years ago

Good catch, I've added this in v1.0.1. Thanks for the heads up!

Glad you're enjoying the plugin. 🙂