add url for rails_api