This website works better with JavaScript.
Home
Explore
Help
Sign In
p3k
/
Compass
mirror of
https://github.com/aaronpk/Compass.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
fix content type header
pull/5/head
Aaron Parecki
8 years ago
parent
9e0eb14f03
commit
b8a0d30a73
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
compass/app/Http/Controllers/Api.php
+ 1
- 1
compass/app/Http/Controllers/Api.php
View File
@ -202,7 +202,7 @@ class Api extends BaseController
}
}
return
response
(
json_encode
(
$response
));
return
response
(
json_encode
(
$response
))
->
header
(
'Content-Type'
,
'application/json'
);
;
}
public
function
input
(
Request
$request
)
{
Write
Preview
Loading…
Cancel
Save