mirror of
https://github.com/discourse/discourse.git
synced 2025-06-19 22:23:04 +08:00
14 lines
305 B
Ruby
14 lines
305 B
Ruby
# 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
|