From 269ef9c4f618c28cd02d92275465c09650caa349 Mon Sep 17 00:00:00 2001 From: Raphael Noriode Date: Thu, 6 Aug 2020 09:54:59 +0100 Subject: [PATCH] Overview of my own series #6938 (#9054) * add series to dashboard sidebar template * add series view to the user dashboard * update typo * merge master * modify the dashboard to hold series count that link to the user's series page * remove schema unnecessary change * remove controller count from function --- app/views/dashboards/_actions.html.erb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/dashboards/_actions.html.erb b/app/views/dashboards/_actions.html.erb index 28cf8f78b..62f0c3bc3 100644 --- a/app/views/dashboards/_actions.html.erb +++ b/app/views/dashboards/_actions.html.erb @@ -4,6 +4,11 @@ <%= @user.articles_count %> + " href="/<%=current_user.username%>/series"> + Series + <%= @user.collections.count %> + + " href="/dashboard/user_followers"> Followers <%= @user.followers_count %>