From 77a6a995133a1f0a4dc7f0fb71fb39535bb4b1c9 Mon Sep 17 00:00:00 2001 From: Toni Dezman Date: Thu, 31 Aug 2017 13:03:15 +0200 Subject: [PATCH] fixes 404 request error --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index d9814b456..a0225c8b3 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -24,7 +24,7 @@ Rails.application.routes.draw do get '/recent_notifications', to: 'notifications#recent_notifications' # users - get '/current_user_info', to: 'users#current_user_info' + get '/current_user_info', to: 'users/users#current_user_info' namespace :users do delete '/leave_team', to: 'user_teams#leave_team'