mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: allow position to be changed post seed
This commit is contained in:
@@ -7,6 +7,10 @@ class BadgeGrouping < ActiveRecord::Base
|
||||
Other = 5
|
||||
|
||||
has_many :badges
|
||||
|
||||
def default_position=(pos)
|
||||
position ||= pos
|
||||
end
|
||||
end
|
||||
|
||||
# == Schema Information
|
||||
|
||||
Reference in New Issue
Block a user