Fix wrong alias in design.rb for themes
This commit is contained in:
parent
84c284fa71
commit
c8bbb28d42
|
@ -14,7 +14,7 @@ class Design
|
||||||
has_many :images, as: :imgs, :autosave => true, :dependent => :destroy
|
has_many :images, as: :imgs, :autosave => true, :dependent => :destroy
|
||||||
has_many :javascripts, as: :js, :autosave => true, :dependent => :destroy
|
has_many :javascripts, as: :js, :autosave => true, :dependent => :destroy
|
||||||
has_many :pages
|
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 :images, :allow_destroy => true
|
||||||
accepts_nested_attributes_for :javascripts, :allow_destroy => true
|
accepts_nested_attributes_for :javascripts, :allow_destroy => true
|
||||||
|
|
Loading…
Reference in New Issue