mirror of
https://github.com/glitch-soc/mastodon.git
synced 2026-03-29 19:21:36 +02:00
* [Glitch] Fix undefined `current_flavour` in controllers After the theming infrastructure migration (#37612, #37807), `ThemingConcern` was removed and theme-related methods were moved to `ThemeHelper`. However, controllers like `Settings::FlavoursController` call `current_flavour` directly in their actions, which is not accessible from a view helper module. Include `ThemeHelper` in `ApplicationController` to restore access to `current_flavour`, `current_skin`, `current_theme`, and other theme methods in all controllers. Co-authored-by: Cursor <cursoragent@cursor.com> * Include ThemeHelper in Settings::FlavoursController instead of ApplicationController --------- Co-authored-by: Cursor <cursoragent@cursor.com>