Ruby on Rails Routes - difference between get and match
match
matches any http method/verb, while get
matches only http method/verb GET.
Following two are equivalent:
match "/signup" => "users#new", :via => [:get]
get "/signup" => "users#new"
match
matches any http method/verb, while get
matches only http method/verb GET.
Following two are equivalent:
match "/signup" => "users#new", :via => [:get]
get "/signup" => "users#new"