Created
July 24, 2014 14:45
-
-
Save foliea/361e68197357a2c0911d 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
match 'grounds/', to: 'grounds#run', as: 'grounds_run', via: :put | |
match 'grounds/:theme', to: 'grounds#switch_editor_theme', as: 'grounds_switch_editor_theme', via: :patch | |
Prefix Verb URI Pattern Controller#Action | |
root GET / grounds#show | |
grounds_run PUT /grounds(.:format) grounds#run | |
grounds_switch_editor_theme PATCH /grounds/:theme(.:format) grounds#switch_editor_theme |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment