diff --git a/lib/technoweenie/attachment_fu.rb b/lib/technoweenie/attachment_fu.rb index e930307b..e282825b 100644 --- a/lib/technoweenie/attachment_fu.rb +++ b/lib/technoweenie/attachment_fu.rb @@ -103,8 +103,8 @@ def has_attachment(options = {}) attachment_options[:path_prefix] ||= attachment_options[:file_system_path] if attachment_options[:path_prefix].nil? attachment_options[:path_prefix] = case attachment_options[:storage] - when :s3: table_name - when :cloud_files: table_name + when :s3 then table_name + when :cloud_files then table_name else File.join("public", table_name) end end