This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/models/design/css_default.rb

12 lines
205 B
Ruby
Raw Permalink Normal View History

2012-10-24 10:40:38 +00:00
class CssDefault < Stylesheet
2012-11-05 15:04:54 +00:00
# belongs_to :design
# belongs_to :desktop_widget
belongs_to :css, polymorphic: true
def content
self.file.read.force_encoding("UTF-8") rescue ''
end
2012-10-24 10:40:38 +00:00
end