11 lines
353 B
Ruby
11 lines
353 B
Ruby
# -*- encoding : utf-8 -*-
|
|
class Users::ProfileController < Users::BaseController
|
|
skip_before_filter :authenticate_user!, :only => :show if APP_CONFIG['anonymous_access']
|
|
|
|
def show
|
|
@projects = @user.projects.by_visibilities(['open']).
|
|
search(params[:search]).search_order.
|
|
paginate(:page => params[:page], :per_page => 25)
|
|
end
|
|
end
|