Created
August 28, 2014 17:51
-
-
Save mattmawhinney/85c5a6d4e2a8c4c94a93 to your computer and use it in GitHub Desktop.
Gist Test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def show | |
puts "Outputting a very lo-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-ong lo-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-ong line" | |
@widget = Widget(params[:id]) | |
respond_to do |format| | |
format.html # show.html.erb | |
format.json { render json: @widget } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment