Sha256: a1b2f783a16ad918432c62387414294d7bab9d32026b9fde8895ef8f4a890ac3
Contents?: true
Size: 434 Bytes
Versions: 3
Compression:
Stored size: 434 Bytes
Contents
class User::RegistrationsController < Devise::RegistrationsController # layout 'user/application' before_action :authenticate_user!, except: [:new, :create] before_action :redirect_user, only: [:destroy] add_breadcrumb I18n.t('activerecord.models.user'), :user_root_path def edit end private def redirect_user redirect_to user_root_path end def after_update_path_for(resource) user_root_path end end
Version data entries
3 entries across 3 versions & 1 rubygems