Rails.application.routes.draw do @root = 'api/' post @root+'users/authenticate' post @root+'users/presalt' post @root+'users/checkToken' post @root+'users/changePassword' end