I am using clearance library for my ruby on rails application auth, but I need to customize view with my template login, I already override sessions method like this and it works but not for url_after_denied_access_when_signed_out method. also I want to know how redirect handle sign_in error input with flash to my custom login page
class SessionsController < Clearance::SessionsController
protected
def url_after_destroy
login_path
end
def url_after_create
dashboard_path
end
def url_after_denied_access_when_signed_out
login_path
end
end