Skip to content

Instantly share code, notes, and snippets.

@adrianvalenz
Created July 12, 2016 00:49
Show Gist options
  • Save adrianvalenz/249235482dbddf2e6b47afbfe1e733fd to your computer and use it in GitHub Desktop.
Save adrianvalenz/249235482dbddf2e6b47afbfe1e733fd to your computer and use it in GitHub Desktop.
[Rails] Add this class to the body for flexible CSS customizing
<body class="<%= "#{controller.controller_name} #{controller.action_name}".strip %>">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment