fix segment fault
This commit is contained in:
		
							parent
							
								
									f6ae58cef4
								
							
						
					
					
						commit
						16001fb2c9
					
				|  | @ -32,7 +32,7 @@ class Admin::DesignsController < ApplicationController | ||||||
|         temp_file.write zip_file.read(zip_name + '/' + title) |         temp_file.write zip_file.read(zip_name + '/' + title) | ||||||
|         debugger |         debugger | ||||||
|         design.build_layout |         design.build_layout | ||||||
|         design.layout = temp_file |         design.layout.file = temp_file | ||||||
|         ['themes', 'javascripts', 'images'].each do |type| |         ['themes', 'javascripts', 'images'].each do |type| | ||||||
|           eval("design.#{type}").each do |object| |           eval("design.#{type}").each do |object| | ||||||
|             title = object.file_filename |             title = object.file_filename | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue