mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
working on navigation
This commit is contained in:
parent
36329235d0
commit
b0331e2259
5 changed files with 13 additions and 8 deletions
|
|
@ -7,6 +7,8 @@ class School < ApplicationRecord
|
|||
|
||||
validates :name, presence: true
|
||||
|
||||
scope :alphabetic, -> { order(name: :asc) }
|
||||
|
||||
include FriendlyId
|
||||
friendly_id :name, :use => [:slugged]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue