Skip to content

Commit

Permalink
Merge pull request #480 from addisonmartin/fix-uninitialized-constant…
Browse files Browse the repository at this point in the history
…-BetterErrors-Middleware-VERSION

Fixed 'uninitialized constant BetterErrors::Middleware::VERSION' in version 2.8.2
  • Loading branch information
RobinDaugherty committed Oct 3, 2020
2 parents be7475b + 0ac88dc commit eef47b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/better_errors/middleware.rb
Expand Up @@ -40,7 +40,7 @@ def self.allow_ip!(addr)
allow_ip! "127.0.0.0/8"
allow_ip! "::1/128" rescue nil # windows ruby doesn't have ipv6 support

CSRF_TOKEN_COOKIE_NAME = "BetterErrors-#{VERSION}-CSRF-Token"
CSRF_TOKEN_COOKIE_NAME = "BetterErrors-#{BetterErrors::VERSION}-CSRF-Token"

# A new instance of BetterErrors::Middleware
#
Expand Down

0 comments on commit eef47b6

Please sign in to comment.