Sha256: dc01351b7f4ec6245cd9800ad2cc4e80cf4a536eaa7e4af25d4caeed9e43b8ef
Contents?: true
Size: 619 Bytes
Versions: 15
Compression:
Stored size: 619 Bytes
Contents
module Wobauth class RegistrationsController < Devise::RegistrationsController protected def after_sign_up_path_for(resource) main_app.root_path end def after_update_path_for(resource) main_app.root_path end def after_inactive_sign_up_path_for(resource) main_app.root_path end def sign_up_params params.require(:user).permit(:username, :email, :password, :password_confirmation) end def account_update_params params.require(:user).permit(:username, :email, :password, :password_confirmation, :current_password) end end end
Version data entries
15 entries across 15 versions & 1 rubygems