Commit d5dfb6e78a81f58fa912fb5fde357d9b6e1d308a
Committed by
Eduardo Silva Araújo
1 parent
d7303e78
Exists in
colab
[Colab] Restore push notification route
During a rebase merge conflict it was lost. Signed off by: Heitor Reis <marcheing@gmail.com>
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
config/routes.rb
... | ... | @@ -17,6 +17,10 @@ Rails.application.routes.draw do |
17 | 17 | get '/repositories/:id/process' => 'repositories#process_repository', as: :repository_process |
18 | 18 | get '/repository_branches' => 'repositories#branches', as: :repository_branches |
19 | 19 | |
20 | + scope :format => false, :constraints => { :format => 'json' } do | |
21 | + post '/repositories/:id/notify_push' => 'repositories#notify_push', as: :repository_notify_push, format: :json | |
22 | + end | |
23 | + | |
20 | 24 | resources :kalibro_configurations do |
21 | 25 | get '/metric_configurations/choose_metric' => 'metric_configurations#choose_metric', as: :choose_metric |
22 | 26 | resources :metric_configurations, except: [:update, :new] do | ... | ... |