Created
September 1, 2019 14:17
-
-
Save eri-b/76feddb9fd525831ab2457dc4d3df8e3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def home | |
@slug = ('a'..'z').to_a.shuffle[0,8].join | |
redirect_to main_path(@slug) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment