Skip to content

Commit

Permalink
Merge pull request mihael#3 from acuizon/master
Browse files Browse the repository at this point in the history
Added .to_s
  • Loading branch information
mihael committed Jun 11, 2011
2 parents 1604941 + 586884d commit 54078f7
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -25,7 +25,7 @@ def full_filename(thumbnail = nil)

# Used as the base path that #public_filename strips off full_filename to create the public path
def base_path
@base_path ||= Rails.root.join('public')
@base_path ||= Rails.root.join('public').to_s
end

# The attachment ID used in the full path of a file
Expand Down

0 comments on commit 54078f7

Please sign in to comment.