I am a new developer in general (just learning rails) and trying to extend the forum. I was wondering if there were any tutorials on getting started and understanding how the front end (ember) worked with the backend (rails)
One basic thing I tried and got an unexpected response:
On Rails I updated the routes file to add
get "/feed" => "feed#index"
Then I added the following controller:
def index
render json: {status: "lets get this going"}
end
end```
Then when I checked on postman for "http://localhost:3000/feed". I would have expected a JSON response but got an HTML response without any of my text there.
Thanks!