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.
2011-08-08 01:30:44 +00:00
|
|
|
class Theme < Stylesheet
|
2011-08-23 18:06:27 +00:00
|
|
|
|
2012-10-24 10:40:38 +00:00
|
|
|
belongs_to :design
|
2011-08-23 18:06:27 +00:00
|
|
|
|
|
|
|
protected
|
|
|
|
|
|
|
|
def set_name
|
2012-10-24 10:40:38 +00:00
|
|
|
self.name = File.basename(self.file_identifier, ".css")
|
2011-08-23 18:06:27 +00:00
|
|
|
end
|
|
|
|
|
2011-08-08 01:30:44 +00:00
|
|
|
end
|