From 73570317faac34941f505b1f915ff1d71ad3c38b Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Wed, 11 Sep 2013 00:04:47 +0600 Subject: [PATCH] [#277] fix users profile --- app/controllers/users/profile_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/users/profile_controller.rb b/app/controllers/users/profile_controller.rb index dba36ad44..3a985c999 100644 --- a/app/controllers/users/profile_controller.rb +++ b/app/controllers/users/profile_controller.rb @@ -3,7 +3,7 @@ class Users::ProfileController < Users::BaseController skip_before_filter :authenticate_user!, :only => :show if APP_CONFIG['anonymous_access'] def show - @path = user_path + @path, page = user_path, params[:page].to_i @projects = @user.projects.search(params[:search]).recent if params[:projects] == 'show' if params[:visibility] != 'hidden'