MT#17173 Fix line endings

Change-Id: I6e2414b5d3647f74436a4afed5ef8c6ff7e63dd8
changes/34/9034/2
Irina Peshinskaya 9 years ago
parent 57efb7c849
commit 8516c6c4ad

@ -136,7 +136,6 @@ sub HEAD :Allow {
$c->response->body(q()); $c->response->body(q());
return; return;
} }
sub OPTIONS :Allow { sub OPTIONS :Allow {
my ($self, $c) = @_; my ($self, $c) = @_;
my $allowed_methods = $self->allowed_methods_filtered($c); my $allowed_methods = $self->allowed_methods_filtered($c);
@ -148,13 +147,10 @@ sub OPTIONS :Allow {
$c->response->body(JSON::to_json({ methods => $allowed_methods })."\n"); $c->response->body(JSON::to_json({ methods => $allowed_methods })."\n");
return; return;
} }
sub end : Private { sub end : Private {
my ($self, $c) = @_; my ($self, $c) = @_;
$self->log_response($c); $self->log_response($c);
} }
no Moose; no Moose;
1; 1;

Loading…
Cancel
Save