Sha256: 2688513d351b0aa9ef04dd9aebdf546bfc9823aea4a3f904700c722fb6c170f9
Contents?: true
Size: 257 Bytes
Versions: 2
Compression:
Stored size: 257 Bytes
Contents
module Pbw class RegistrationsController < Devise::RegistrationsController after_filter :add_user, :only => [:create] protected def add_user if resource.persisted? Pbw::Engine.user_lifecycle_class.after_signup(resource) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pbw-0.0.9 | app/controllers/pbw/registrations_controller.rb |
pbw-0.0.8 | app/controllers/pbw/registrations_controller.rb |