mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-13 17:30:38 -07:00
Set up bullet gem. Implement bullet gem suggestions.
This commit is contained in:
parent
3408ecd749
commit
5a8d032dd0
10 changed files with 39 additions and 17 deletions
|
|
@ -2,7 +2,7 @@ class Category < ActiveRecord::Base
|
|||
include FriendlyId
|
||||
friendly_id :name, use: [:slugged]
|
||||
|
||||
scope :sorted, -> { order(:sort_index) }
|
||||
scope :sorted, -> { order(:sort_index)}
|
||||
|
||||
has_many :subcategories
|
||||
has_many :measures, through: :subcategories
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue