lib/clearance/authorization.rb in clearance-1.0.0.rc6 vs lib/clearance/authorization.rb in clearance-1.0.0.rc7

- old
+ new

@@ -41,19 +41,15 @@ def redirect_back_or(default) redirect_to(return_to || default) clear_return_to end - def redirect_to_root - redirect_to('/') - end - def return_to session[:return_to] || params[:return_to] end def url_after_denied_access_when_signed_in - '/' + Clearance.configuration.redirect_url end def url_after_denied_access_when_signed_out sign_in_url end