fix resources cancan bug
Merge branch 'development' of https://github.com/elliotec/codeunion into development