lib/jsonapionify/api/base/doc_helper.rb in jsonapionify-0.9.0 vs lib/jsonapionify/api/base/doc_helper.rb in jsonapionify-0.9.1
- old
+ new
@@ -24,12 +24,12 @@
def description(description)
@description = description
end
def documentation_output(request)
- #cache_store.fetch(resource_signature) do
- JSONAPIonify::Documentation.new(documentation_object(request)).result
- #end
+ cache_store.fetch(resource_signature) do
+ JSONAPIonify::Documentation.new(documentation_object(request)).result
+ end
end
def resources_in_order
indexes = @documentation_order || []
resources.sort_by(&:name).sort_by do |resource|