]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/trace.rb
Implement context menu with: directions, add note, describe, centre.
[rails.git] / app / models / trace.rb
index 601a4506f7197019e393f449abda9c74aeb7021d..b13ce84d23b5addf216a9f363fb06f1d1905dc63 100644 (file)
@@ -70,16 +70,13 @@ class Trace < ActiveRecord::Base
 
   def large_picture
     f = File.new(large_picture_name, "rb")
-    logger.info "large picture file: '#{f.path}', bytes: #{File.size(f.path)}"
     data = f.sysread(File.size(f.path))
-    logger.info "have read data, bytes: '#{data.length}'"
     f.close
     data
   end
 
   def icon_picture
     f = File.new(icon_picture_name, "rb")
-    logger.info "icon picture file: '#{f.path}'"
     data = f.sysread(File.size(f.path))
     f.close
     data