removing attributes

This commit is contained in:
Zanz2 2018-09-11 15:35:03 +02:00
parent 4c2c92445c
commit ae3c19ced5
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ module Api
module V1
class ExperimentSerializer < ActiveModel::Serializer
type :experiments
attributes :id, :name, :description, :created_by_id, :archived
attributes :id, :name, :description, :archived
end
end
end

View file

@ -4,7 +4,7 @@ module Api
module V1
class MyModuleGroupSerializer < ActiveModel::Serializer
type :task_groups
attributes :id, :created_by_id, :experiment_id
attributes :id, :experiment_id
belongs_to :experiment, serializer: ExperimentSerializer
end
end