You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update this to reflect what the codebase looks like here
Open up the `app/controllers/articles_controller.rb` file in your editor.
![](images/010.png)
The part we are interested in is the `def show` action.
# GET /articles/1
# GET /articles/1.json
def show
respond_to do |format|
format.html # show.html.erb
format.json { render json: @article }
end
end
The text was updated successfully, but these errors were encountered:
solution: do pseudo code for the explanation, saying "this is whats going on behind the scenes". Or better yet, use ri to inject itself into it to find out what the heck it's actually doing, and show them how to use ri and rdoc to find things.
Update this to reflect what the codebase looks like here
The text was updated successfully, but these errors were encountered: