project dashboard

This commit is contained in:
gitlabhq 2011-10-18 14:33:30 +03:00
parent 5a5845e490
commit c29b49de66
5 changed files with 69 additions and 13 deletions

View file

@ -22,6 +22,8 @@ class Note < ActiveRecord::Base
scope :common, where(:noteable_id => nil)
scope :last_week, where("created_at >= :date", :date => (Date.today - 7.days))
mount_uploader :attachment, AttachmentUploader
end
# == Schema Information