Profil: fix refresh on update_token
This commit is contained in:
parent
84abfa209c
commit
2c8188f4ae
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue