Module: Idapted::Helpers::SingletonMethods

Defined in:
lib/eco_apps/utils/helpers.rb

Instance Method Summary collapse

Instance Method Details

#ip_limited_access(options = {}) ⇒ Object



40
41
42
# File 'lib/eco_apps/utils/helpers.rb', line 40

def ip_limited_access(options = {})
  before_filter(:authenticate_ip_address, options) if Rails.env == "production"
end