Skip to content

Commit e88daab

Browse files
committed
Fix Ruby 1.9 support
1 parent fa546e0 commit e88daab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rodauth_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ def foo
793793
end
794794

795795
if use_default_rodauth_name
796-
app.define_method(:default_rodauth_name){request.path.start_with?('/r2') ? :r2 : nil}
796+
app.send(:define_method, :default_rodauth_name){request.path.start_with?('/r2') ? :r2 : nil}
797797
end
798798

799799
app.route do |r|

0 commit comments

Comments
 (0)