• Sean McGivern's avatar
    Fix context for SessionsController · 88588172
    Sean McGivern authored
    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.
    88588172
application_controller.rb 16.2 KB