Created
September 5, 2017 13:21
-
-
Save Schwad/2c93aabc5a94dfc57b5e3a41f012b91e to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
@book = Book.find(params[:id]) | |
render 'unexpected' | |
end | |
#=> Rendering books/unexpected.html.haml within layouts/application |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment