diff options
Diffstat (limited to 'app/models/category.rb')
| -rw-r--r-- | app/models/category.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/category.rb b/app/models/category.rb index c98e64a8..74a34c8c 100644 --- a/app/models/category.rb +++ b/app/models/category.rb @@ -1,4 +1,4 @@ -class Category < ActiveRecord::Base +class Category < ApplicationRecord has_many :creations default_scope -> { order(:slug) } |
