Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed unnecessary code

  • Loading branch information...
commit bb922f8d51425c626da735b47584a02241aa8a87 1 parent 7d3536e
@nakajima authored
Showing with 0 additions and 6 deletions.
  1. +0 −6 lib/rack/flash.rb
View
6 lib/rack/flash.rb
@@ -35,14 +35,8 @@ class SessionUnavailable < StandardError; end
# Implements bracket accessors for storing and retrieving flash entries.
class FlashHash
attr_reader :flagged
-
- def self.default_store
- nil
- end
def initialize(store, opts={})
- store ||= FlashHash.default_store
-
raise Rack::Flash::SessionUnavailable \
.new('Rack::Flash depends on session middleware.') unless store
Please sign in to comment.
Something went wrong with that request. Please try again.