Module: Pubcookie::UsersController
- Defined in:
- lib/pubcookie/users_controller.rb
Overview
Extends the core UsersController to prepend view paths
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
Class Method Details
.included(controller_class) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/pubcookie/users_controller.rb', line 6 def self.included(controller_class) controller_class.send(:include, InstanceMethods) controller_class.before_filter(:add_view_paths) controller_class.alias_method_chain(:create, :pubcookie) end |