Sha256: c867b1bd164dfb032e5177a8b2df407915b5e207484c2440aed158a0992f0090
Contents?: true
Size: 435 Bytes
Versions: 5
Compression:
Stored size: 435 Bytes
Contents
# frozen_string_literal: true class User::RegistrationsController < Devise::RegistrationsController before_action :authenticate_user!, except: %i[new create] before_action :redirect_user, only: %i[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
5 entries across 5 versions & 1 rubygems