Commit f5d96009 authored by Takuya Noguchi's avatar Takuya Noguchi
Browse files

Avoid to repeat namespace querying on project milestone

parent de2d5ce6
......@@ -45,6 +45,7 @@ def edit
def show
@project_namespace = @project.namespace.becomes(Namespace)
def create
......@@ -18,7 +18,7 @@
= confidential_icon(issuable)
= link_to issuable.title, issuable_url_args, title: issuable.title
= link_to [project.namespace.becomes(Namespace), project, issuable] do
= link_to [namespace, project, issuable] do
%span.issuable-number= issuable.to_reference
- issuable.labels.each do |label|
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