A platform for community discussion. Free, open, simple.
Fix string literal when switching theme in dev env
Penar Musaraj607c67100328
diff --git a/app/controllers/themes_controller.rb b/app/controllers/themes_controller.rbindex 573f787bb2e..e13f880b05c 100644--- a/app/controllers/themes_controller.rb+++ b/app/controllers/themes_controller.rb@@ -18,6 +18,7 @@ class ThemesController < ::ApplicationControllernext hash unless Rails.env.development?dup_hash = hash.dup+ dup_hash[:new_href] = dup_hash[:new_href].dupdup_hash[:new_href] << (dup_hash[:new_href].include?("?") ? "&" : "?")dup_hash[:new_href] << SecureRandom.hexdup_hash