Closed cycomachead closed 1 year ago
Is there a standard way to have a filter which runs on all actions except one or two? For example, I might want to have one route which skips some permissions checks, but virtually all others should have them.
u can do it with path or params in the filter
You would have to provide this functionality yourself. A potential solution would be to use self.route_name to return early in your before filter
self.route_name
Is there a standard way to have a filter which runs on all actions except one or two? For example, I might want to have one route which skips some permissions checks, but virtually all others should have them.