diff options
author | Ciro Santillli <ciro.santilli@gmail.com> | 2014-03-17 10:29:50 +0100 |
---|---|---|
committer | Ciro Santillli <ciro.santilli@gmail.com> | 2014-03-17 13:02:04 +0100 |
commit | 548f070f0e36f76c3afb285668aaa460a6fb73cc (patch) | |
tree | 425d134e5c1eb96bb4801d146c7109d411acab9c /app/controllers/dashboard_controller.rb | |
parent | 36c094b08dc37887050eedad7f0fb4f05e79f9cc (diff) | |
download | gitlab-ce-548f070f0e36f76c3afb285668aaa460a6fb73cc.tar.gz |
Show link to public projects for new users.
Diffstat (limited to 'app/controllers/dashboard_controller.rb')
-rw-r--r-- | app/controllers/dashboard_controller.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb index a74e97ac253..233b91680f6 100644 --- a/app/controllers/dashboard_controller.rb +++ b/app/controllers/dashboard_controller.rb @@ -22,6 +22,8 @@ class DashboardController < ApplicationController @last_push = current_user.recent_push + @publicish_project_count = Project.publicish(current_user).count + respond_to do |format| format.html format.json { pager_json("events/_events", @events.count) } |