akkounts/app/controllers/welcome_controller.rb

8 lines
144 B
Ruby

class WelcomeController < ApplicationController
def index
if user_signed_in?
redirect_to settings_path and return
end
end
end