Reply button, Comments for Merge Request diff

This commit is contained in:
Dmitriy Zaporozhets 2012-02-24 22:19:47 +02:00
parent 215a01f63c
commit d41d8ffb02
13 changed files with 53 additions and 15 deletions

View file

@ -58,7 +58,9 @@ class MergeRequestsController < ApplicationController
def diffs
@diffs = @merge_request.diffs
@commit = @merge_request.last_commit
@line_notes = []
@comments_allowed = true
@line_notes = @merge_request.notes.where("line_code is not null")
end
def new