summaryrefslogtreecommitdiff
path: root/app/views/dashboard
diff options
context:
space:
mode:
authorZeger-Jan van de Weg <zegerjan@gitlab.com>2016-03-12 15:02:38 +0100
committerZeger-Jan van de Weg <zegerjan@gitlab.com>2016-03-13 19:08:04 +0100
commitfc8d64b3a0fc5aeb048b2bce79b2ae93a4fcc798 (patch)
treef8646c3a71719579409b76c8b9cdf13809ea035a /app/views/dashboard
parent42fcd3881fcece5c9bd4b720460d6cade573b151 (diff)
downloadgitlab-ce-fc8d64b3a0fc5aeb048b2bce79b2ae93a4fcc798.tar.gz
Remove Project#publicish
Diffstat (limited to 'app/views/dashboard')
-rw-r--r--app/views/dashboard/projects/_zero_authorized_projects.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/dashboard/projects/_zero_authorized_projects.html.haml b/app/views/dashboard/projects/_zero_authorized_projects.html.haml
index c3efa7727b1..65edc05b793 100644
--- a/app/views/dashboard/projects/_zero_authorized_projects.html.haml
+++ b/app/views/dashboard/projects/_zero_authorized_projects.html.haml
@@ -1,4 +1,4 @@
-- publicish_project_count = Project.publicish(current_user).count
+- publicish_project_count = ProjectsFinder.new.execute(current_user).count
%h3.page-title Welcome to GitLab!
%p.light Self hosted Git management application.
%hr
@@ -18,7 +18,7 @@
- if current_user.can_create_project?
.link_holder
= link_to new_project_path, class: "btn btn-new" do
- %i.fa.fa-plus
+ =icon('plus')
New Project
- if current_user.can_create_group?