app/serializers/lcms/engine/resource_instruction_serializer.rb in lcms-engine-0.1.4 vs app/serializers/lcms/engine/resource_instruction_serializer.rb in lcms-engine-0.2.0

- old
+ new

@@ -3,11 +3,9 @@ module Lcms module Engine class ResourceInstructionSerializer < ActiveModel::Serializer include ResourceHelper - self.root = false - attributes :id, :title, :subject, :teaser, :path, :img, :instruction_type, :grade_avg, :time_to_teach def title return object.title if media?