predicate methods for action type #collection_action? and #resource_action? which can be used for example in conditional filters to decorate resource but not collection