Skip to content

Commit

Permalink
Modified version prefixed filename to include storage subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Aug 1, 2010
1 parent d0db9e2 commit e106877
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/domain_file_version.rb
Expand Up @@ -75,7 +75,7 @@ def prefixed_filename
# unless we have a filename, return false
atr = self.read_attribute(:filename)
return nil unless self.prefix && atr
"#{self.prefix}/#{atr}"
"#{DomainFile.storage_subdir}/{self.prefix}/#{atr}"
end

def relative_filename
Expand Down

0 comments on commit e106877

Please sign in to comment.