diff --git a/config/routes.rb b/config/routes.rb index 5759274..74cd53d 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,7 +3,7 @@ Errbit::Application.routes.draw do devise_for :users, :controllers => { :omniauth_callbacks => "users/omniauth_callbacks" } # Hoptoad Notifier Routes - post '/notifier_api/v2/notices' => 'notices#create' + match '/notifier_api/v2/notices' => 'notices#create', via: [:get, :post] get '/locate/:id' => 'notices#locate', :as => :locate post '/deploys.txt' => 'deploys#create' -- libgit2 0.21.2