app/controllers/clearance/sessions_controller.rb in thoughtbot-clearance-0.8.0 vs app/controllers/clearance/sessions_controller.rb in thoughtbot-clearance-0.8.1
- old
+ new
@@ -26,10 +26,10 @@
end
end
end
def destroy
- sign_out(current_user)
+ sign_out
flash_success_after_destroy
redirect_to(url_after_destroy)
end
private