[#277] fix users profile
This commit is contained in:
parent
e2c4f9c162
commit
73570317fa
|
@ -3,7 +3,7 @@ class Users::ProfileController < Users::BaseController
|
||||||
skip_before_filter :authenticate_user!, :only => :show if APP_CONFIG['anonymous_access']
|
skip_before_filter :authenticate_user!, :only => :show if APP_CONFIG['anonymous_access']
|
||||||
|
|
||||||
def show
|
def show
|
||||||
@path = user_path
|
@path, page = user_path, params[:page].to_i
|
||||||
@projects = @user.projects.search(params[:search]).recent
|
@projects = @user.projects.search(params[:search]).recent
|
||||||
if params[:projects] == 'show'
|
if params[:projects] == 'show'
|
||||||
if params[:visibility] != 'hidden'
|
if params[:visibility] != 'hidden'
|
||||||
|
|
Loading…
Reference in New Issue