app/controllers/application_controller.rb
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
Prevent CSRF attacks by raising an exception.
For APIs, you may want to use :null_session instead.
Prevent CSRF attacks by raising an exception . For APIs you may want to use : null_session instead .
def app_uris
    app_uris = {
      new_registration: new_user_registration_path,
      new_session: new_user_session_path
    }
    render json: app_uris
  end
def app_uris app_uris = { new_registration : new_user_registration_path , new_session : new_user_session_path } render json : app_uris end
Prevent CSRF attacks by raising an exception.
Prevent CSRF attacks by raising an exception .
# Define urls ember app might need