colibri-software / identity_plugin

Identity plugin for Locomotive CMS.
MIT License
2 stars 3 forks source link

Exception by using filter identity_plugin_has_role #8

Open eilers opened 9 years ago

eilers commented 9 years ago

If I use the filter has_role like this:

{{ "admin" | identity_plugin_has_role }}

I receive the following exception:

undefined method `has_role' for #<Liquid::Strainer:0x007fac932171f8>

Please tell me what is wrong?

Thanks in advance!

eilers commented 9 years ago

Seems to be a ruby issue or somewhat related to ruby: It works if I use ruby 2.0.0. The issue returns starting with 2.1.2.