Alternatively, it would look like this on the intercepted controller (e.g. ApplicationController):

```rb
intercept_by SomeController, only: :some_action do
  # Block that returns the redirect_to path if an interception is supposed to happen
end
```