From b258236ee3f3ebf191a33994235bed8f84a6c291 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 21 Sep 2017 16:15:27 +0100 Subject: Use HTTP methods for custom routes --- lib/config/custom-routes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/config/custom-routes.rb') 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 -- cgit v1.2.3