Module: Manageable::Models::ActsAsArticle
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/manageable/models/acts_as_article.rb
Instance Method Summary collapse
Instance Method Details
#publish_now=(value) ⇒ Object
43 44 45 |
# File 'lib/manageable/models/acts_as_article.rb', line 43 def publish_now=(value) @publish_now = (value && !(value === 'false')) end |
#to_url_param ⇒ Object
39 40 41 |
# File 'lib/manageable/models/acts_as_article.rb', line 39 def to_url_param self.slug end |