Sha256: 5313d2432ce364859b081d0191cd81573c13578878f676ab879574f31db35f46
Contents?: true
Size: 291 Bytes
Versions: 3
Compression:
Stored size: 291 Bytes
Contents
module ActionController class Base def after_sign_out_path_for(resource_or_scope) params[:callback_url] || session[:referrer] || root_path end def after_sign_in_path_for(resource_or_scope) Authentifyd.default_after_sign_in_path || root_path end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
authentifyd-0.1.0.1 | lib/authentifyd/action_controller/base.rb |
authentifyd-0.1.0 | lib/authentifyd/action_controller/base.rb |
authentifyd-0.0.16 | lib/authentifyd/action_controller/base.rb |