Module: HyperKittenMeow::Concerns::Models::Post
- Extended by:
- ActiveSupport::Concern
- Includes:
- Categorical::Taggable, HumanUrls::Sluggable
- Included in:
- Post
- Defined in:
- lib/hyper_kitten_meow/concerns/models/post.rb
Instance Method Summary collapse
Instance Method Details
#css_classes ⇒ Object
32 33 34 35 36 37 38 |
# File 'lib/hyper_kitten_meow/concerns/models/post.rb', line 32 def css_classes if published? return "published" else return "not-published" end end |