lib/pragma/operation/index.rb in pragma-1.2.4 vs lib/pragma/operation/index.rb in pragma-1.2.5
- old
+ new
@@ -21,9 +21,10 @@
)
end
respond_with(
resource: decorate(context.records),
+ status: :ok,
headers: {
'Page' => context.records.current_page.to_i,
'Per-Page' => context.records.per_page,
'Total' => context.records.total_entries
},