mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: allow themes to render their own custom homepage (#26291)
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.
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class AddCustomHomepageThemeModifiers < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :theme_modifier_sets, :custom_homepage, :boolean, null: true
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user