lib/pancake/mixins/request_helper.rb in pancake-0.1.25 vs lib/pancake/mixins/request_helper.rb in pancake-0.1.26
- old
+ new
@@ -100,10 +100,10 @@
end
# An accessor for the rack environment variable
# @api public
def env
- @env
+ @env ||= {}
end
# A handy request method that gets hold of the current request
# object for the current rack request.
# Any including class _must_ provide an +env+ method that exposes