Module: FeatureBox::Devise::Redirects
- Defined in:
- app/controllers/feature_box/devise/redirects.rb
Class Method Summary collapse
Instance Method Summary collapse
- #after_sign_in_path_for(resource_or_scope) ⇒ Object
- #after_sign_out_path_for(resource_or_scope) ⇒ Object
- #after_sign_up_path_for(resource_or_scope) ⇒ Object
- #signed_in_root_path(resource_or_scope) ⇒ Object
Class Method Details
.included(m) ⇒ Object
16 17 18 |
# File 'app/controllers/feature_box/devise/redirects.rb', line 16 def self.included m m. end |
Instance Method Details
#after_sign_in_path_for(resource_or_scope) ⇒ Object
4 5 6 |
# File 'app/controllers/feature_box/devise/redirects.rb', line 4 def after_sign_in_path_for resource_or_scope feature_box.root_path end |
#after_sign_out_path_for(resource_or_scope) ⇒ Object
7 8 9 |
# File 'app/controllers/feature_box/devise/redirects.rb', line 7 def after_sign_out_path_for resource_or_scope feature_box.root_path end |
#after_sign_up_path_for(resource_or_scope) ⇒ Object
10 11 12 |
# File 'app/controllers/feature_box/devise/redirects.rb', line 10 def after_sign_up_path_for resource_or_scope feature_box.root_path end |
#signed_in_root_path(resource_or_scope) ⇒ Object
13 14 15 |
# File 'app/controllers/feature_box/devise/redirects.rb', line 13 def signed_in_root_path resource_or_scope feature_box.root_path end |