discontinued
This commit is contained in:
parent
11f54d27a2
commit
640fbe655f
|
@ -28,7 +28,7 @@ class Album < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def set_title
|
||||
self.title = File.basename( self.path) unless self.title || !self.path
|
||||
self.title = File.basename( self.path).titleize unless self.title || !self.path
|
||||
end
|
||||
|
||||
def tags
|
||||
|
|
|
@ -127,7 +127,7 @@ class Photo < ActiveRecord::Base
|
|||
private
|
||||
|
||||
def set_title
|
||||
self.title = File.basename( self.path ).gsub( self.extension, "" ) unless self.title
|
||||
self.title = File.basename( self.path ).gsub( self.extension, "" ).titleize unless self.title
|
||||
end
|
||||
|
||||
def ensure_file
|
||||
|
|
|
@ -60,6 +60,9 @@ module ScanFiles
|
|||
end
|
||||
|
||||
def self.FullScan(debug = false)
|
||||
|
||||
puts "not in use anymore. use Scan"
|
||||
return
|
||||
if debug
|
||||
puts "DEBUG"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue