I’m using devise for authentication and have some before_filters in my application controller. Issue I’m seeing is that when I try to logout the before_filter intercepts that and keeps me on the view that’s I’ve setup in the before_filter. Is there any way for me to specify which controllers should be excluded from the application controller or some other file?
I’m using devise for authentication and have some before_filters in my application controller. Issue
Share
You can qualify a filter with
:onlyor:except.Or if the filter (as I now see is the case in your situation) is defined in
ApplicationControllerand you want to bypass it in a subclass controller, you can use askip_before_filterwith the same qualifications in the subclass controller: