Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unless logged_in?
- unless params[:captcha] && Digest::SHA1.hexdigest(params[:captcha].upcase.chomp)[0..5] == params[:captcha_guide]
- @item.errors.add("Word")
- render :action => 'new'
- return
- end
- end
Add Comment
Please, Sign In to add comment