File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ module DateHeader
22 extend ActiveSupport ::Concern
33
44 included do
5- if defined? ( Agoo ) || defined? ( Falcon ) || defined? ( Puma )
5+ if defined? ( Falcon ) || defined? ( Puma )
66 before_action :add_header
77 end
88 end
Original file line number Diff line number Diff line change 11Rails . application . routes . draw do
22 # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
33
4- JsonApp = if defined? ( Falcon ) || defined? ( Puma ) || defined? ( Agoo )
4+ JsonApp = if defined? ( Falcon ) || defined? ( Puma )
55 -> ( env ) do
66 [ 200 ,
77 {
2222 end
2323 end
2424
25- PlaintextApp = if defined? ( Falcon ) || defined? ( Puma ) || defined? ( Agoo )
25+ PlaintextApp = if defined? ( Falcon ) || defined? ( Puma )
2626 -> ( env ) do
2727 [ 200 ,
2828 {
You can’t perform that action at this time.
0 commit comments