DEV: Show login-required splash in root route (take 2) (#32629)

This commit is contained in:
Penar Musaraj
2025-05-14 11:25:43 -04:00
committed by GitHub
parent c881bdb340
commit 267736e5bc
30 changed files with 315 additions and 239 deletions

View File

@ -0,0 +1,13 @@
# frozen_string_literal: true
class HomePageController < ApplicationController
skip_before_action :check_xhr, only: %i[custom blank]
def custom
respond_to { |format| format.html { render :custom } }
end
def blank
respond_to { |format| format.html { render "default/blank" } }
end
end