Modifications asset pipeline
This commit is contained in:
1 parent
20afb23a5f
commit
e74f2931b1
667 files changed
+20
-128620
No files matched your search
@@ -68,7 +68,7 @@ class Admin::PurchasesController < ApplicationController
|
||||
design.structure_css = temp
|
||||
|
||||
['themes', 'javascripts', 'images'].each do |type|
|
||||
eval("design.#{type}").each do |object|
|
||||
design.send(type).each do |object|
|
||||
title = object.file_filename
|
||||
temp = File.new(dir + '/' + title, 'w+')
|
||||
temp.write orig_zip.read(zip_name + '/' + type + '/' + title)
|
||||
|
||||
Reference in new issue
Block a user