Module: HashAuth::Controllers::Helpers::ClassMethods
- Defined in:
- lib/hash-auth/controllers/helpers.rb
Instance Method Summary collapse
Instance Method Details
#initialize_for_hash_auth(actions_requiring_hash_verification) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/hash-auth/controllers/helpers.rb', line 9 def initialize_for_hash_auth(actions_requiring_hash_verification) if actions_requiring_hash_verification == [:all] before_filter :verify_hash else before_filter :verify_hash, :only => actions_requiring_hash_verification end end |