File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ def call!(env)
35
35
36
36
# Create a scope without affecting the URL.
37
37
#
38
- # @param name [Symbol] Purely placebo, just allows to to name the scope to make the code more readable.
38
+ # @param name [Symbol] Purely placebo, just allows to name the scope to make the code more readable.
39
39
def scope ( name = nil , &block )
40
40
within_namespace do
41
41
nest ( block )
@@ -153,7 +153,6 @@ def add_head_not_allowed_methods_and_options_methods
153
153
allow_header = ( [ 'OPTIONS' ] | allowed_methods ) . join ( ', ' )
154
154
unless self . class . namespace_inheritable ( :do_not_route_options )
155
155
unless allowed_methods . include? ( 'OPTIONS' )
156
- # require 'pry-byebug'; binding.pry
157
156
self . class . options ( path , { } ) do
158
157
header 'Allow' , allow_header
159
158
status 204
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ module Configuration
7
7
8
8
module ClassMethods
9
9
attr_writer :logger
10
- # attr_reader :settings
11
10
12
11
include Grape ::DSL ::Settings
13
12
You can’t perform that action at this time.
0 commit comments