Skip to content

Commit

Permalink
Change config/routes to use :via => [:get, :post]
Browse files Browse the repository at this point in the history
  • Loading branch information
alanjcfs committed Mar 24, 2014
1 parent 412294e commit 0de9291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Searchify::Engine.routes.draw do
match '/search/:collection' => "searchify#search"
match '/search/:collection' => "searchify#search", :via => [:get, :post]
end

0 comments on commit 0de9291

Please sign in to comment.