Skip to content

Commit

Permalink
remove old method which is not used anymore, closes scambra#443
Browse files Browse the repository at this point in the history
  • Loading branch information
scambra committed Feb 27, 2014
1 parent 1cf7d23 commit 00dd0fb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/devise_invitable/model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,6 @@ def find_by_invitation_token(original_token, only_valid)
invitable unless only_valid && invitable.errors.present?
end

# Generate a token checking if one does not already exist in the database.
def invitation_token
generate_token(:invitation_token)
end

# Callback convenience methods
def before_invitation_accepted(*args, &blk)
set_callback(:invitation_accepted, :before, *args, &blk)
Expand Down

0 comments on commit 00dd0fb

Please sign in to comment.