Traveling: Rename log_action to travel_action
This commit is contained in:
parent
c348b2dff8
commit
d0c061569d
2 changed files with 2 additions and 2 deletions
|
@ -2298,7 +2298,7 @@ sub startup {
|
||||||
$r->get('/p/:name/j/:id')->to('traveling#public_journey_details');
|
$r->get('/p/:name/j/:id')->to('traveling#public_journey_details');
|
||||||
$r->post('/api/v1/import')->to('api#import_v1');
|
$r->post('/api/v1/import')->to('api#import_v1');
|
||||||
$r->post('/api/v1/travel')->to('api#travel_v1');
|
$r->post('/api/v1/travel')->to('api#travel_v1');
|
||||||
$r->post('/action')->to('traveling#log_action');
|
$r->post('/action')->to('traveling#travel_action');
|
||||||
$r->post('/geolocation')->to('traveling#geolocation');
|
$r->post('/geolocation')->to('traveling#geolocation');
|
||||||
$r->post('/list_departures')->to('traveling#redirect_to_station');
|
$r->post('/list_departures')->to('traveling#redirect_to_station');
|
||||||
$r->post('/login')->to('account#do_login');
|
$r->post('/login')->to('account#do_login');
|
||||||
|
|
|
@ -694,7 +694,7 @@ sub geolocation {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub log_action {
|
sub travel_action {
|
||||||
my ($self) = @_;
|
my ($self) = @_;
|
||||||
my $params = $self->req->json;
|
my $params = $self->req->json;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue