Module: DoubleAuthEngine::UsersControllerMixin
- Included in:
- UsersController
- Defined in:
- lib/double_auth_engine/controllers/users_controller_mixin.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/double_auth_engine/controllers/users_controller_mixin.rb', line 3 def self.included(base) base.class_eval do skip_before_filter :require_user, :only => [:new, :create] filter_access_to [:edit, :update, :change_password, :update_password], :attribute_check => true respond_to :html, :json, :js end base.send :include, InstanceMethods end |