mirror of
https://github.com/discourse/discourse.git
synced 2026-03-04 01:15:08 +08:00
13 lines
305 B
Ruby
13 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
|