[#277] fix users profile

This commit is contained in:
Alexander Machehin 2013-09-11 00:04:47 +06:00
parent e2c4f9c162
commit 73570317fa
1 changed files with 1 additions and 1 deletions

View File

@ -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'