diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-10-22 14:15:33 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-10-22 14:15:33 +0000 |
commit | 18ba6987cd49843244bd63e58b171abb20f963e0 (patch) | |
tree | 168cbdddc2a89df933817db0e02d8a4021929840 | |
parent | d0296fc9151024ef7cc43ca6906b46cb9cd9c7f9 (diff) | |
parent | adf04082299a37bc953d93a4d38f9b8c24cc307d (diff) | |
download | gitlab-ce-18ba6987cd49843244bd63e58b171abb20f963e0.tar.gz |
Merge branch 'fix_milestone_link' into 'master'
Fix milestone link in issue page. Closes #174
For a complete description see #174.
See merge request !196
-rw-r--r-- | app/views/projects/issues/_issue_context.html.haml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/issues/_issue_context.html.haml b/app/views/projects/issues/_issue_context.html.haml index 8c3f0823386..648f459dc9e 100644 --- a/app/views/projects/issues/_issue_context.html.haml +++ b/app/views/projects/issues/_issue_context.html.haml @@ -19,6 +19,7 @@ = hidden_field_tag :issue_context = f.submit class: 'btn' - elsif issue.milestone - = link_to issue.milestone.title, project_milestone_path + = link_to project_milestone_path(@project, @issue.milestone) do + = @issue.milestone.title - else None |