noesya/osuny

View on GitHub
app/models/communication/website/page/communication_post.rb

Summary

Maintainability
A
0 mins
Test Coverage
C
77%
class Communication::Website::Page::CommunicationPost < Communication::Website::Page

  def editable_width?
    false
  end

  def full_width_by_default?
    true
  end

  def dependencies
    super +
    [website.config_default_languages] +
    website.post_categories +
    website.posts
  end

  def git_path_relative
    'posts/_index.html'
  end
end