mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-17 06:52:27 +01:00
remove dead code of WebhooksController
This commit is contained in:
parent
02c1014412
commit
3dc8d66c63
@ -1,10 +0,0 @@
|
||||
class WebhooksController < ApplicationController
|
||||
|
||||
protect_from_forgery :except => :create
|
||||
|
||||
def create
|
||||
# data_json = JSON.parse request.body.read
|
||||
|
||||
render nothing: true
|
||||
end
|
||||
end
|
@ -4,8 +4,6 @@ require 'sidekiq/web'
|
||||
require 'sidekiq/cron/web'
|
||||
|
||||
Rails.application.routes.draw do
|
||||
post 'webhooks' => 'webhooks#create'
|
||||
|
||||
if AuthProvider.active.providable_type == DatabaseProvider.name
|
||||
# with local authentification we do not use omniAuth so we must differentiate the config
|
||||
devise_for :users, controllers: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user