mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 18:51:44 +08:00
![Penar Musaraj](/assets/img/avatar_default.png)
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.
8 lines
136 B
Ruby
8 lines
136 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CustomHomepageController < ApplicationController
|
|
def index
|
|
render "default/custom"
|
|
end
|
|
end
|