Skip to content

Commit

Permalink
fix /cancelled.json
Browse files Browse the repository at this point in the history
Closes #155
  • Loading branch information
derf committed Aug 25, 2024
1 parent 6cbc8c5 commit d26953d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Travelynx.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2397,7 +2397,8 @@ sub startup {
$authed_r->get('/account/traewelling')->to('traewelling#settings');
$authed_r->get('/account/insight')->to('account#insight');
$authed_r->get('/ajax/status_card.html')->to('traveling#status_card');
$authed_r->get('/cancelled')->to('traveling#cancelled');
$authed_r->get( '/cancelled' => [ format => [ 'html', 'json' ] ] )
->to( 'traveling#cancelled', format => undef );
$authed_r->get('/fgr')->to('passengerrights#list_candidates');
$authed_r->get('/account/password')->to('account#password_form');
$authed_r->get('/account/mail')->to('account#change_mail');
Expand Down

0 comments on commit d26953d

Please sign in to comment.