Class: Jobshop::WelcomeController

Inherits:
ApplicationController show all
Defined in:
app/controllers/jobshop/welcome_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#after_sign_in_path_for

Instance Method Details

#indexObject



5
6
7
8
9
# File 'app/controllers/jobshop/welcome_controller.rb', line 5

def index
  if session[:next_onboard_path].present?
    redirect_to session[:next_onboard_path]
  end
end