Merge branch 'bug_fixes'

This commit is contained in:
Sebastian Serth
2020-10-28 16:46:41 +01:00
14 changed files with 24 additions and 31 deletions

View File

@@ -8,6 +8,8 @@ Rails.application.tap do |app|
Raven.configure do |config|
config.sanitize_fields = app.config.filter_parameters.map(&:to_s)
config.processors -= [Raven::Processor::PostData] # Do this to send POST data
config.async = lambda do |event|
pool.post { ::Raven.send_event(event) }
end

View File

@@ -14,7 +14,7 @@ Rails.application.routes.draw do
end
end
resources :codeharbor_links, only: %i[new create edit update destroy]
resources :request_for_comments do
resources :request_for_comments, except: %i[edit destroy] do
member do
get :mark_as_solved, defaults: { format: :json }
post :set_thank_you_note, defaults: { format: :json }