Commit dfc82811 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix issues 500 if milestone id exists but milestone is not

parent 8cdfa86b
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
%span %span
%i.icon-comments %i.icon-comments
= issue.notes.count = issue.notes.count
- if issue.milestone_id? - if issue.milestone
%span %span
%i.icon-time %i.icon-time
= issue.milestone.title = issue.milestone.title
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment