I believe the way to do this is to override the devise before
and after_sign_in_path_for
helpers
I think (from what I've read), you can use logic to determine the best way to handle this:
def after_sign_in_path_for(resource)
stored_location_for(resource) ||
if resource.is_a?(Admin)
admin_dashboard_path
else
user_path(resource)
end
end