Fix context for SessionsController
SessionsController inherits from DeviseController, which inherits from ApplicationController by default, so adding context in that controller didn't help. The problem here was that the chain was being interrupted by an earlier before_action, so we need to set the context in a prepend_around_action.
Showing
Please register or sign in to comment