去掉document.rb中的冗余代码

email_verify
lizanle 11 years ago
parent 75ba61ed74
commit 2aecb40817

@ -81,7 +81,5 @@ class Document < ActiveRecord::Base
update_document(self.user,2,self.project)
end
def expire_cache
ActionController::Base.new.expire_fragment('activities')
end
end

Loading…
Cancel
Save