From 7544e1459ec8b68c92790c2c68a429b7e0034c61 Mon Sep 17 00:00:00 2001 From: Stanislav Kozlovski Date: Thu, 19 Apr 2018 08:25:00 +0300 Subject: [PATCH] Fix outdated comment referencing non-existent variable --- lib/rails/auth/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rails/auth/helpers.rb b/lib/rails/auth/helpers.rb index 359361e..12197d9 100644 --- a/lib/rails/auth/helpers.rb +++ b/lib/rails/auth/helpers.rb @@ -24,7 +24,7 @@ def authorized?(rack_env) # Mark what authorized the request in the Rack environment # - # @param [Hash] :env Rack environment + # @param [Hash] :rack_env Rack environment # @param [String] :allowed_by what allowed this request def set_allowed_by(rack_env, allowed_by) Env.new(rack_env).tap do |env|