Permalink
Browse files

can't delete session. fixed it.

  • Loading branch information...
1 parent 10c00fe commit 8aa7f1f81fe0744c57141820929bd5bdc376b8ba @authorNari committed Mar 18, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/sequel-rails/session_store.rb
@@ -101,6 +101,10 @@ def find_session(sid)
klass.where(:session_id => sid).first || klass.new(:session_id => sid)
end
+ def destroy(env)
+ find_session(current_session_id(env)).destroy
+ end
+
end
end

0 comments on commit 8aa7f1f

Please sign in to comment.