about summary refs log tree commit diff
path: root/app/controllers/auth/confirmations_controller.rb
blob: 5ffa1c9a307c237522a8d0671e17f25f80ddad95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

class Auth::ConfirmationsController < Devise::ConfirmationsController
  layout 'auth'
  before_action :set_pack

  def show
    super do |user|
      BootstrapTimelineWorker.perform_async(user.account_id) if user.errors.empty?
    end
  end
  
  private

  def set_pack
    use_pack 'auth'
  end
end