0
My Rails api has the user/me route that returns the current user data, written like this:
#routes
resources :usuarios do
get :mim, on: :collection
end
#controller
def mim
render json: usuario_atual
end
How can I access this api route with Ember to get user data?
I found the solution here http://www.thegreatcodeadventure.com/creating-a-current-user-property-in-ember/ #grateful
– Vinicius Luiz