fix dashboards and add empty state

This commit is contained in:
João Geonizeli
2022-07-27 22:41:22 -03:00
parent 7489cab78e
commit 89f39f93e9
4 changed files with 29 additions and 19 deletions

View File

@@ -24,5 +24,7 @@ class Subject < ApplicationRecord
belongs_to :category
belongs_to :axis
has_many :questions
validates :name, presence: true, uniqueness: true
end