Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

capcha off when user logged in

  • Loading branch information...
commit d37955ae211bdb8e5d3f00ec9bf2ca922da9c6c9 1 parent dc4f5a5
Pooja Gupta poojagupta authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  app/models/feedback.rb
2  app/models/feedback.rb
@@ -21,7 +21,7 @@ class Feedback < ActiveRecord::Base
21 21 validates_presence_of :name, :email, :if => Proc.new { |obj| obj.profile_id.blank? }
22 22
23 23 validates_captcha :if => Proc.new { |obj| obj.profile_id.blank? }
24   - validates_captcha if RAILS_ENV == 'production'
  24 +
25 25
26 26 after_save :send_feedback_to_admin
27 27

0 comments on commit d37955a

Please sign in to comment.
Something went wrong with that request. Please try again.