Remove the commit_msg_with_link_to_issues helper and specs

This commit is contained in:
Riyad Preukschas 2012-08-02 02:29:47 +02:00
parent 24ec186a83
commit 0a60b19b23
2 changed files with 0 additions and 85 deletions

View file

@ -1,22 +1,4 @@
module CommitsHelper
def commit_msg_with_link_to_issues(project, message)
return '' unless message
out = ''
message.split(/(#[0-9]+)/m).each do |m|
if m =~ /(#([0-9]+))/m
begin
issue = project.issues.find($2)
out += link_to($1, project_issue_path(project, $2))
rescue
out += $1
end
else
out += m
end
end
preserve out
end
def identification_type(line)
if line[0] == "+"
"new"