Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
pdf-customizer
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ab9425e0
authored
2016-05-12 16:32:57 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
33
1 parent
55260a03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
app/Http/Controllers/ApiController.php
app/Http/Controllers/ApiController.php
View file @
ab9425e
...
...
@@ -137,8 +137,7 @@ class ApiController extends Controller
//$response = $pdf;
$statusCode
=
200
;
return
Response
::
json
(
'good'
,
$statusCode
)
->
header
(
"Access-Control-Allow-Origin"
,
"*"
);
return
Response
::
json
(
'good'
,
$statusCode
);
...
...
@@ -153,8 +152,7 @@ class ApiController extends Controller
$rows
=
$rows
->
getList
(
$json
)
->
get
();
$response
=
$rows
;
$statusCode
=
200
;
return
Response
::
json
(
$response
,
$statusCode
)
->
header
(
"Access-Control-Allow-Origin"
,
"*"
);
return
Response
::
json
(
$response
,
$statusCode
);
}
...
...
@@ -177,8 +175,7 @@ class ApiController extends Controller
$rows
=
$rows
->
getpdf
(
$json
)
->
get
();
$response
=
$rows
;
$statusCode
=
200
;
return
Response
::
json
(
$response
,
$statusCode
)
->
header
(
"Access-Control-Allow-Origin"
,
"*"
);
return
Response
::
json
(
$response
,
$statusCode
);
}
...
...
Please
register
or
sign in
to post a comment