Permalink
Browse files

refactor

  • Loading branch information...
1 parent f7cfe0c commit ff312ac0af3b2a901aca4858fdba59ed85416933 @JackDanger committed Dec 18, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 app.rb
View
2 app.rb
@@ -15,7 +15,7 @@ def find_email
unless email.blank?
@email = Email.find_or_create_by_name(email)
# give 'em just a few minutes to play
- @token_required = true if @email.created_at && @email.created_at < (Time.new - 60*30)
+ @token_required = (@email.created_at && @email.created_at < (Time.new - 60*30))
end
@email
end

0 comments on commit ff312ac

Please sign in to comment.