class <%= class_name.pluralize %>::RegistrationsController < Janus::RegistrationsController respond_to :html # def after_sign_up_url(<%= singular_name %>) # profile_url(<%= singular_name %>) # end def <%= singular_name %>_params if params.respond_to?(:permit) # Rails 4 (or Rails 3 + strong_parameters) params.require(:<%= singular_name %>).permit(:email, :current_password, :password, :password_confirmation) else # Rails 3 params[:<%= singular_name %>].slice(:email, :current_password, :password, :password_confirmation) end end end