FEATURE: new category setting for whether to show latest topics or top topics by default

This commit is contained in:
Neil Lalonde
2017-03-02 10:56:04 -05:00
parent bcf634ca85
commit 6aab8cb331
12 changed files with 74 additions and 13 deletions

View File

@@ -0,0 +1,5 @@
class AddDefaultViewToCategories < ActiveRecord::Migration
def change
add_column :categories, :default_view, :string, null: true, limit: 50
end
end