Skip to content

Instantly share code, notes, and snippets.

@anoobbava
Created November 11, 2016 06:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anoobbava/08aa445fe7490d2211388d23c3b09d95 to your computer and use it in GitHub Desktop.
Save anoobbava/08aa445fe7490d2211388d23c3b09d95 to your computer and use it in GitHub Desktop.
layout false
overriding the layout from the application.html.erb
You will notice, the layout false directive. This is because we don't want the show view inheriting from application.html layout. We will be appending this view on our home page.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment