Expose relation version to api and fix remaining server status typo in old_relation controller.
This commit is contained in:
parent
10079fbba9
commit
df8cd4a7b2
2 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,7 @@ class OldRelationController < ApplicationController
|
|||
rescue ActiveRecord::RecordNotFound
|
||||
render :nothing => true, :status => :not_found
|
||||
rescue
|
||||
render :nothing => true, :status => :internal_service_error
|
||||
render :nothing => true, :status => :internal_server_error
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue