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