Created
June 19, 2019 06:16
-
-
Save siddhant3030/fa64897a5d049c782fbe6db4200697cf to your computer and use it in GitHub Desktop.
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
if request_path =~ /^\articles$/ | |
#go to articles#index | |
elsif request_path =~ /^\recipes$/ | |
#go to recipes#index | |
elsif | |
# etc etc more looping ahh! | |
else | |
# route not found? | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment