This commit is contained in:
albert
2011-08-30 20:10:38 -04:00
parent ce720dab6c
commit 60abc867ca
4 changed files with 13 additions and 6 deletions

View File

@@ -282,6 +282,10 @@ class Upload < ActiveRecord::Base
status == "pending"
end
def is_processing?
status == "processing"
end
def is_completed?
status == "completed"
end