Add editable contents table
This commit is contained in:
4
app/models/editable_content.rb
Normal file
4
app/models/editable_content.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
class EditableContent < ApplicationRecord
|
||||
validates :key, presence: true,
|
||||
uniqueness: { scope: :path }
|
||||
end
|
||||
Reference in New Issue
Block a user