Skip to content

Commit

Permalink
Merge pull request #97 from sumeetjain/master
Browse files Browse the repository at this point in the history
Fix "undefined method forget_me!" for remember_me submodule
  • Loading branch information
NoamB committed Oct 20, 2011
2 parents c1912c4 + ce65410 commit cb2316e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sorcery/controller/submodules/remember_me.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def remember_me!

# Clears the cookie and clears the token from the db.
def forget_me!
current_user.forget_me!
@current_user.forget_me!
cookies[:remember_me_token] = nil
end

Expand Down

0 comments on commit cb2316e

Please sign in to comment.