mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 10:08:20 -05:00
c8284170ad
FIX: not loading more badges on badge show page
22 lines
438 B
Ruby
22 lines
438 B
Ruby
class BadgeGrouping < ActiveRecord::Base
|
|
|
|
GettingStarted = 1
|
|
Community = 2
|
|
Posting = 3
|
|
TrustLevel = 4
|
|
Other = 5
|
|
|
|
has_many :badges
|
|
end
|
|
|
|
# == Schema Information
|
|
#
|
|
# Table name: badge_groupings
|
|
#
|
|
# id :integer not null, primary key
|
|
# name :string(255) not null
|
|
# description :string(255) not null
|
|
# position :integer not null
|
|
# created_at :datetime
|
|
# updated_at :datetime
|
|
#
|