plataformatec/devise — pull request #3004 by kento1218 (2014-04-28 11:44:56+00:00)
Title: Fix Devise::ConfirmationsController#after_confirmation_path_for

after_confirmation_path_for checks whether the user already signed in
by calling signed_in? after confirmation succeeded.
Since it was called without scope specification, the user treated as
signed in inappropriately when the user signed in as another resource
(such as 'admin').