mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Rename 'popular' to 'latest'. First stab at 'Hot' tab.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class UpdateSiteSettingsForHot < ActiveRecord::Migration
|
||||
def up
|
||||
execute "UPDATE site_settings SET value = REPLACE(value, 'popular|', 'latest|hot|') where name = 'top_menu'"
|
||||
end
|
||||
|
||||
def down
|
||||
execute "UPDATE site_settings SET value = REPLACE(value, 'latest|hot', 'popular|') where name = 'top_menu'"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user