ability to attach branch to issue

This commit is contained in:
gitlabhq 2011-11-24 08:08:20 -05:00
parent b4c40c212c
commit ee2d3de1a6
7 changed files with 149 additions and 48 deletions

View file

@ -15,6 +15,11 @@ class Issue < ActiveRecord::Base
:to => :author,
:prefix => true
delegate :name,
:email,
:to => :assignee,
:prefix => true
validates :title,
:presence => true,
:length => { :within => 0..255 }