mirror of
https://github.com/discourse/discourse.git
synced 2026-08-10 23:59:31 +08:00
This PR adds a theme modifier and route so that custom themes can opt to show their own homepage. See PR description for example usage.
7 lines
136 B
Ruby
Vendored
7 lines
136 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
class CustomHomepageController < ApplicationController
|
|
def index
|
|
render "default/custom"
|
|
end
|
|
end
|