lib/pragma/operation/show.rb in pragma-1.2.4 vs lib/pragma/operation/show.rb in pragma-1.2.5
- old
+ new
@@ -9,10 +9,10 @@
def call
context.record = find_record
authorize! context.record
- respond_with resource: decorate(context.record)
+ respond_with resource: decorate(context.record), status: :ok
end
protected
# Finds the requested record.