From 2c8188f4ae044648befb0e85c084852c629835d7 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Fri, 24 Aug 2018 17:06:36 +0200 Subject: [PATCH] Profil: fix refresh on update_token --- config/routes.rb | 2 ++ 1 file changed, 2 insertions(+) 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