Class: Calagator::VenuesController::CreateOrUpdate
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Calagator::VenuesController::CreateOrUpdate
- Defined in:
- app/controllers/calagator/venues_controller.rb
Instance Method Summary collapse
Instance Method Details
#call(recaptcha_result) ⇒ Object
107 108 109 110 111 112 113 |
# File 'app/controllers/calagator/venues_controller.rb', line 107 def call(recaptcha_result) if recaptcha_result block_spammers || (save && render_success) || render_failure else render_failure end end |