fixes 404 request error

This commit is contained in:
Toni Dezman 2017-08-31 13:03:15 +02:00
parent 4034400c42
commit 77a6a99513

View file

@ -24,7 +24,7 @@ Rails.application.routes.draw do
get '/recent_notifications', to: 'notifications#recent_notifications' get '/recent_notifications', to: 'notifications#recent_notifications'
# users # users
get '/current_user_info', to: 'users#current_user_info' get '/current_user_info', to: 'users/users#current_user_info'
namespace :users do namespace :users do
delete '/leave_team', to: 'user_teams#leave_team' delete '/leave_team', to: 'user_teams#leave_team'