add ck editor file upload endpoint
This commit is contained in:
11
app/models/ck_editor_upload.rb
Normal file
11
app/models/ck_editor_upload.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: ck_editor_uploads
|
||||
#
|
||||
# id :bigint not null, primary key
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
#
|
||||
class CkEditorUpload < ApplicationRecord
|
||||
has_one_attached :attachment
|
||||
end
|
||||
Reference in New Issue
Block a user