lib/generators/templates/registrations_controller.erb in janus-0.8.1 vs lib/generators/templates/registrations_controller.erb in janus-0.9.0
- old
+ new
@@ -1,9 +1,17 @@
class <%= class_name.pluralize %>::RegistrationsController < Janus::RegistrationsController
respond_to :html
+ # def deliver_confirmation_instructions(<%= singular_name %>)
+ # <%= class_name %>Mailer.confirmation_instructions(<%= singular_name %>).deliver
+ # end
+
# def after_sign_up_url(<%= singular_name %>)
# profile_url(<%= singular_name %>)
+ # end
+
+ # def after_destroy_url(<%= singular_name %>)
+ # root_url
# end
def <%= singular_name %>_params
if params.respond_to?(:permit)
# Rails 4 (or Rails 3 + strong_parameters)