From b57d6bdc2479fd4debcd1e0a4d4ced25088524c6 Mon Sep 17 00:00:00 2001 From: Naveed Ahmad Date: Sun, 28 May 2017 01:09:27 +0500 Subject: [PATCH] added tafsir name in response (#149) --- app/serializers/v3/resource_content_serializer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/serializers/v3/resource_content_serializer.rb b/app/serializers/v3/resource_content_serializer.rb index 6ad615db..f611c74e 100644 --- a/app/serializers/v3/resource_content_serializer.rb +++ b/app/serializers/v3/resource_content_serializer.rb @@ -18,7 +18,7 @@ # class V3::ResourceContentSerializer < V3::ApplicationSerializer - attributes :id, :author_name, :slug + attributes :id, :author_name, :slug, :name attribute :language_name do object.language.translated_names.filter_by_language_or_default(scope[:language]).name