Permalink
Browse files

Removed unnecessary code

  • Loading branch information...
1 parent 7d3536e commit bb922f8d51425c626da735b47584a02241aa8a87 @nakajima committed Aug 6, 2009
Showing with 0 additions and 6 deletions.
  1. +0 −6 lib/rack/flash.rb
View
@@ -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

0 comments on commit bb922f8

Please sign in to comment.