Fix design edit
This commit is contained in:
1 parent
05081c1a5c
commit
6789d44431
4 files changed
+10
-5
No files matched your search
@@ -52,7 +52,7 @@ class Admin::DesignsController < OrbitBackendController
|
||||
case params[:type]
|
||||
when 'layout', 'css_default', 'css_reset'
|
||||
@object = @design.send(params[:type])
|
||||
when 'image', 'javascript', 'theme'
|
||||
when 'javascripts', 'themes'#, 'images'
|
||||
@object = @design.send(params[:type]).find(params[:object_id])
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user