Module: Zena::Use::Refactor::ControllerMethods

Includes:
Common
Defined in:
lib/zena/use/refactor.rb

Overview

Common

Instance Method Summary collapse

Methods included from Common

#lang

Instance Method Details

#should_save(obj, params) ⇒ Object

Read the parameters and add errors to the object if it is considered spam. Save it otherwize.



16
17
18
19
# File 'lib/zena/use/refactor.rb', line 16

def should_save(obj, params)
  # do nothing (overwritten by plugins like zena_captcha)
  true
end