summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorOswaldo Ferreira <oswaldo@gitlab.com>2018-02-20 13:30:49 -0300
committerOswaldo Ferreira <oswaldo@gitlab.com>2018-02-20 15:25:46 -0300
commitc445ef539ef62b0eb425b8cf60e240597b697ec1 (patch)
tree37c5614c11dc9f76bf4ff483e9cb4d7c12e167b5 /app/views
parente0e3f1c2750b6db9343d530d00b096bcb1a57677 (diff)
downloadgitlab-ce-c445ef539ef62b0eb425b8cf60e240597b697ec1.tar.gz
Move default_project_view tests to presenter
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml
index 385a3b490a4..e6e6502c70f 100644
--- a/app/views/projects/show.html.haml
+++ b/app/views/projects/show.html.haml
@@ -27,7 +27,7 @@
= icon("exclamation-triangle fw")
#{ _('Archived project! Repository is read-only') }
- - view_path = @project.default_project_view
+ - view_path = @project.default_view
- if show_auto_devops_callout?(@project)
= render 'shared/auto_devops_callout'