This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout master | |
backup master: git branch backup | |
Make a new branch from your head.: git branch test | |
Switch to that and delete the old branch name.: git checkout test | |
git branch -D master | |
Checkout the last clean rev from your fork.: git checkout master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I want the URL to be /appointments/review/HSGy56GJS67 where the last part is a unique token that identifies the review | |
routes file | |
resources :appointments do | |
collection do | |
get 'review/:review_token', :to => 'appointments#review_appointments' | |
end | |
end | |
rake routes(first column is blank, there is no path for some reason like 'reviews_appointments') |