Skip to content

Commit

Permalink
remove tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
technoweenie committed Jun 9, 2008
1 parent 8a1e649 commit e475cf7
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -34,10 +34,10 @@ def attachment_path_id
# by default paritions files into directories e.g. 0000/0001/image.jpg
# to turn this off set :partition => false
def partitioned_path(*args)
if respond_to?(:attachment_options) && attachment_options[:partition] == false
args
else
("%08d" % attachment_path_id).scan(/..../) + args
if respond_to?(:attachment_options) && attachment_options[:partition] == false
args
else
("%08d" % attachment_path_id).scan(/..../) + args
end
end

Expand Down

0 comments on commit e475cf7

Please sign in to comment.