Add 404 template
This commit is contained in:
parent
071f6b4664
commit
00d9e7f5f6
1 changed files with 8 additions and 0 deletions
8
app/views/api/v1/api/not_found.json.rabl
Normal file
8
app/views/api/v1/api/not_found.json.rabl
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
object false
|
||||||
|
|
||||||
|
node(:errors) do
|
||||||
|
{
|
||||||
|
'message': "Record could not be found.",
|
||||||
|
'code': 'not_found'
|
||||||
|
}
|
||||||
|
end
|
||||||
Loading…
Reference in a new issue