Index: routes.rb =================================================================== --- routes.rb (revision 9) +++ routes.rb (working copy) @@ -1 +1 @@ -match 'mention/search', :to => 'mention#search' \ No newline at end of file +match 'mention/search', :to => 'mention#search', :via => [:get, :post] \ No newline at end of file