mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-12 01:46:55 +08:00
12 lines
255 B
Ruby
12 lines
255 B
Ruby
module Datatables
|
|
class DatatablesTeam < ApplicationRecord
|
|
belongs_to :user
|
|
private
|
|
|
|
# this isn't strictly necessary, but it will prevent
|
|
# rails from calling save, which would fail anyway.
|
|
def readonly?
|
|
true
|
|
end
|
|
end
|
|
end
|