noesya/osuny

View on GitHub
app/models/communication/website/configs/robots_txt.rb

Summary

Maintainability
A
0 mins
Test Coverage
F
57%
class Communication::Website::Configs::RobotsTxt < Communication::Website::Configs::Base

  def self.polymorphic_name
    'Communication::Website::Configs::RobotsTxt'
  end

  def git_path(website)
    "static/robots.txt"
  end

  def template_static
    "admin/communication/websites/configs/robots_txt/static"
  end

end