diff --git a/config/routes.rb b/config/routes.rb index e1cc6b8d0..82b2700b7 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -371,6 +371,8 @@ Rails.application.routes.draw do get 'profil' => 'profil#show' post 'renew-api-token' => 'profil#renew_api_token' + # allow refresh 'renew api token' page + get 'renew-api-token' => redirect('/profil') end apipie