l4d.tools/app/controllers/pages_controller.rb
2026-01-18 17:42:32 +01:00

10 lines
211 B
Ruby

class PagesController < ApplicationController
before_action -> { @skip_auth = true }
skip_before_action :authenticate_user!
def home
if current_user
redirect_to dashboard_path
end
end
end