Skip to content

Commit

Permalink
Fixes typo: destory != destroy. Somebody doesn't use Mongoid...
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Nicoll committed Feb 5, 2011
1 parent ce3652f commit dbe55aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mongo_session_store/mongoid.rb
Expand Up @@ -51,7 +51,7 @@ def find_session(id)

def destroy(env)
if sid = current_session_id(env)
get_session_model(env, sid).destory
get_session_model(env, sid).destroy
end
end

Expand All @@ -74,4 +74,4 @@ def unpack(packed)

end
end
end
end

0 comments on commit dbe55aa

Please sign in to comment.