Skip to content
Snippets Groups Projects
Commit f2f7577a authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

better URL structuration

parent 9c8ddc2b
No related branches found
No related tags found
No related merge requests found
...@@ -88,12 +88,12 @@ sub startup { ...@@ -88,12 +88,12 @@ sub startup {
$routes->get('/')->to(controller => 'controller', action => 'home')->name('home'); $routes->get('/')->to(controller => 'controller', action => 'home')->name('home');
$routes->get('/status')->to(controller => 'controller', action => 'status')->name('status'); $routes->get('/status')->to(controller => 'controller', action => 'status')->name('status');
$routes->get('/select_entity')->to(controller => 'controller', action => 'select_entity')->name('select_entity'); $routes->get('/select/entity')->to(controller => 'controller', action => 'select_entity')->name('select_entity');
$routes->get('/select_email')->to(controller => 'controller', action => 'select_email')->name('select_email'); $routes->get('/select/email')->to(controller => 'controller', action => 'select_email')->name('select_email');
$routes->get('/send_challenge')->to(controller => 'controller', action => 'send_challenge')->name('send_challenge'); $routes->get('/challenge/send')->to(controller => 'controller', action => 'send_challenge')->name('send_challenge');
$routes->get('/validate_challenge')->to(controller => 'controller', action => 'validate_challenge')->name('validate_challenge'); $routes->get('/challenge/validate')->to(controller => 'controller', action => 'validate_challenge')->name('validate_challenge');
$routes->get('/show_accounts_html')->to(controller => 'controller', action => 'show_accounts_html')->name('show_accounts_html'); $routes->get('/accounts/html')->to(controller => 'controller', action => 'show_accounts_html')->name('show_accounts_html');
$routes->get('/show_accounts_csv')->to(controller => 'controller', action => 'show_accounts_csv')->name('show_accounts_csv'); $routes->get('/accounts/csv')->to(controller => 'controller', action => 'show_accounts_csv')->name('show_accounts_csv');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment