aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2017-09-21 16:15:27 +0100
committerLouise Crow <louise.crow@gmail.com>2017-09-22 17:39:28 +0100
commitb258236ee3f3ebf191a33994235bed8f84a6c291 (patch)
treebd6a6801a6b9c39aeab6e75a66466a85dcb701ab
parentf025f5c05852c6a847349c47ebbd2f1182181182 (diff)
Use HTTP methods for custom routes
-rw-r--r--lib/config/custom-routes.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/config/custom-routes.rb b/lib/config/custom-routes.rb
index 98fccf7..efbf95e 100644
--- a/lib/config/custom-routes.rb
+++ b/lib/config/custom-routes.rb
@@ -3,7 +3,7 @@
Rails.application.routes.draw do
# brand new controller example
- # match '/mycontroller' => 'general#mycontroller'
+ # get '/mycontroller' => 'general#mycontroller'
# Additional help page example
- # match '/help/help_out' => 'help#help_out'
+ # get '/help/help_out' => 'help#help_out'
end