Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

403_ajax_handler #18

Merged
merged 3 commits into from
Nov 23, 2015
Merged

403_ajax_handler #18

merged 3 commits into from
Nov 23, 2015

Conversation

MateuszUrbanowicz
Copy link
Contributor

No description provided.

$request
);
} else {
return $CORS->addActualRequestHeaders(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about 403 production case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is working for both production and develop cases

@MateuszUrbanowicz
Copy link
Contributor Author

@AdrianSkierniewski ptal

@@ -48,6 +50,8 @@ public function render($request, Exception $e)
if ($request->ajax()) {
/** @var $CORS \Asm89\Stack\CorsService */
$CORS = app()->make('Asm89\Stack\CorsService');

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need those two empty lines

@AdrianSkierniewski
Copy link
Member

After removing those two empty lines 👍

@ASkierniewska
Copy link

👍

MateuszUrbanowicz added a commit that referenced this pull request Nov 23, 2015
@MateuszUrbanowicz MateuszUrbanowicz merged commit f970ebf into master Nov 23, 2015
@MateuszUrbanowicz MateuszUrbanowicz deleted the 403_ajax_handler branch November 23, 2015 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants