property_web_builder

https://github.com/etewiah/property_web_builder

Ruby

Create a fully featured real estate website on Rails in minutes! ⛺

Pwb::DeviseController#after_sign_out_path_for

Method used by sessions controller to sign out a user. You can overwrite
it in your ApplicationController to provide a custom hook for a custom
scope. Notice that differently from +after_sign_in_path_for+ this method
receives a symbol with the scope, and not the resource.

Overwriting the sign_out redirect path method
By default it is the root_path.

Source | Google | Stack overflow

Edit

git clone [email protected]:etewiah/property_web_builder.git

cd property_web_builder

open app/controllers/pwb/devise_controller.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Pwb--DeviseController-after_sign_out_path_for-for-pr


# Commit to git

git add app/controllers/pwb/devise_controller.rbgit commit -m "better docs for Pwb::DeviseController#after_sign_out_path_for"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Pwb--DeviseController-after_sign_out_path_for-for-pr

hub pull-request


# Celebrate!