diff options
author | Josh Frye <joshfng@gmail.com> | 2016-02-04 02:21:14 +0300 |
---|---|---|
committer | Josh Frye <joshfng@gmail.com> | 2016-02-04 21:03:41 +0300 |
commit | 2ad094132de3c491511261bf0e6a2e577fd699dd (patch) | |
tree | 7ba4cf6ed687cde58b13a0c4151ac243db09e47f /app/controllers/users_controller.rb | |
parent | 2c871ca1968846871ed264cad34b50611eecae3b (diff) |
Various filter fixes
Diffstat (limited to 'app/controllers/users_controller.rb')
-rw-r--r-- | app/controllers/users_controller.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 280228dbcc0..6055b606086 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -4,8 +4,9 @@ class UsersController < ApplicationController def show @contributed_projects = contributed_projects.joined(@user).reject(&:forked?) - + @projects = PersonalProjectsFinder.new(@user).execute(current_user) + @projects = @projects.page(params[:page]).per(PER_PAGE) @groups = @user.groups.order_id_desc |