Skip to content

Instantly share code, notes, and snippets.

@biske
Created November 21, 2014 17:14
Show Gist options
  • Save biske/f1e0bbeb759b464fe999 to your computer and use it in GitHub Desktop.
Save biske/f1e0bbeb759b464fe999 to your computer and use it in GitHub Desktop.
Get layout name from controller
send(:_layout) gives current layout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment