ae7b2ef62c
# Conflicts: # app/models/issue.rb # app/views/projects/_home_panel.html.haml # app/views/shared/projects/_project.html.haml # db/schema.rb # spec/models/project_spec.rb
8 lines
306 B
Ruby
8 lines
306 B
Ruby
class Explore::GroupsController < Explore::ApplicationController
|
|
def index
|
|
@groups = GroupsFinder.new.execute(current_user)
|
|
@groups = @groups.search(params[:search]) if params[:search].present?
|
|
@groups = @groups.sort(@sort = params[:sort])
|
|
@groups = @groups.page(params[:page])
|
|
end
|
|
end
|