Fix wrong alias in design.rb for themes

This commit is contained in:
chris 2012-11-20 12:46:50 +08:00
parent 84c284fa71
commit c8bbb28d42
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class Design
has_many :images, as: :imgs, :autosave => true, :dependent => :destroy
has_many :javascripts, as: :js, :autosave => true, :dependent => :destroy
has_many :pages
has_many :themes, as: :css, :autosave => true, :dependent => :destroy
has_many :themes, :autosave => true, :dependent => :destroy
accepts_nested_attributes_for :images, :allow_destroy => true
accepts_nested_attributes_for :javascripts, :allow_destroy => true