aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/active_file/blob.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/active_file/blob.rb b/lib/active_file/blob.rb
index 4e73ec4864..817617ecaf 100644
--- a/lib/active_file/blob.rb
+++ b/lib/active_file/blob.rb
@@ -28,10 +28,12 @@ class ActiveFile::Blob < ActiveRecord::Base
end
end
+
def filename
Filename.new(filename)
end
+
def delete
site.delete(key)
end