Method: Gitlab::Themes#body_classes
- Defined in:
- lib/gitlab/themes.rb
#body_classes ⇒ Object
Convenience method to get a space-separated String of all the theme classes that might be applied to the body element
Returns a String
40 41 42 |
# File 'lib/gitlab/themes.rb', line 40 def body_classes available_themes.collect(&:css_class).uniq.join(' ') end |