Files
finreport-analyzer/app/controllers/welcome_controller.rb
T

12 lines
212 B
Ruby

class WelcomeController < ApplicationController
def home
if logged_in?
if @current_user.present?
redirect_to '/organisations/index'
else
render_error
end
end
end
end