Skip to content

Instantly share code, notes, and snippets.

@moritamoriko
Created March 30, 2014 16:33
Show Gist options
  • Save moritamoriko/9875438 to your computer and use it in GitHub Desktop.
Save moritamoriko/9875438 to your computer and use it in GitHub Desktop.
ログイン前後のCSSのクラスを変える
%body{class: "#{signed_in? ? 'yes' : 'no'}"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment