diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-08-02 22:22:10 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-08-02 22:22:10 +0200 |
commit | d0c061569df106eb2c1c40b0e800b70b6375b95f (patch) | |
tree | aec1c5638aa6a2b3f4510ada05145ef9b4879972 /lib | |
parent | c348b2dff8d50c991c05599cdd678b5557716bba (diff) |
Traveling: Rename log_action to travel_action
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/Travelynx.pm | 2 | ||||
-rwxr-xr-x | lib/Travelynx/Controller/Traveling.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Travelynx.pm b/lib/Travelynx.pm index e39cf45..3612fd0 100755 --- a/lib/Travelynx.pm +++ b/lib/Travelynx.pm @@ -2298,7 +2298,7 @@ sub startup { $r->get('/p/:name/j/:id')->to('traveling#public_journey_details'); $r->post('/api/v1/import')->to('api#import_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('/list_departures')->to('traveling#redirect_to_station'); $r->post('/login')->to('account#do_login'); diff --git a/lib/Travelynx/Controller/Traveling.pm b/lib/Travelynx/Controller/Traveling.pm index dc27ca9..86d29c4 100755 --- a/lib/Travelynx/Controller/Traveling.pm +++ b/lib/Travelynx/Controller/Traveling.pm @@ -694,7 +694,7 @@ sub geolocation { } } -sub log_action { +sub travel_action { my ($self) = @_; my $params = $self->req->json; |