Profil: fix refresh on update_token

This commit is contained in:
simon lehericey 2018-08-24 17:06:36 +02:00
parent 84abfa209c
commit 2c8188f4ae

View file

@ -371,6 +371,8 @@ Rails.application.routes.draw do
get 'profil' => 'profil#show' get 'profil' => 'profil#show'
post 'renew-api-token' => 'profil#renew_api_token' post 'renew-api-token' => 'profil#renew_api_token'
# allow refresh 'renew api token' page
get 'renew-api-token' => redirect('/profil')
end end
apipie apipie