Rails.application.routes.draw do @root = 'api/' post @root+'users/authenticate' post @root+'users/presalt' post @root+'users/checkToken' post @root+'users/changePassword' post @root+'users/postStatus' get @root+'users/status', to: 'api/users#status' end