Commit 650a3c9c authored by Jake Burden's avatar Jake Burden

Apply 1 suggestion(s) to 1 file(s)

parent 20cac04e
......@@ -50,9 +50,7 @@ class MergeRequestNoteableEntity < IssuableEntity
merge_request.project.archived?
end
expose :project_id do |merge_request|
merge_request.project.id
end
expose :project_id
expose :archived_project_docs_path, if: -> (merge_request) { merge_request.project.archived? } do |merge_request|
help_page_path('user/project/settings/index.md', anchor: 'archiving-a-project')
......
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