mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-15 08:48:53 +00:00
Change how theme style packs are loaded
Load the `common` style pack, and then charge the style pack for the current skin, independent from any selected JS pack.
This commit is contained in:
@@ -8,6 +8,14 @@ namespace :assets do
|
||||
def current_user
|
||||
nil
|
||||
end
|
||||
|
||||
def current_flavour
|
||||
Setting.default_settings['flavour']
|
||||
end
|
||||
|
||||
def current_skin
|
||||
Setting.default_settings['skin']
|
||||
end
|
||||
end
|
||||
|
||||
html = renderer.render(action, opts)
|
||||
|
||||
Reference in New Issue
Block a user