2013-12-20 33 views

回答

0

更新您的application_controller

def after_sign_in_path_for(resource) 
    if authorize_signed_in? 
    amain_path 
    end 
end 

def after_sign_out_path_for(resource) 
    if authorize_signed_in? 
    new_authorize_session_path 
    end 
end 
相關問題