Traveling: Rename log_action to travel_action

This commit is contained in:
Daniel Friesel 2022-08-02 22:22:10 +02:00
parent c348b2dff8
commit d0c061569d
No known key found for this signature in database
GPG key ID: 100D5BFB5166E005
2 changed files with 2 additions and 2 deletions

View file

@ -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');

View file

@ -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;