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.
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
|
2013-06-14 08:08:30 +00:00
|
|
|
def content
|
|
|
|
self.file.read.force_encoding("UTF-8") rescue ''
|
|
|
|
end
|
2012-10-24 10:40:38 +00:00
|
|
|
|
|
|
|
end
|