mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-23 19:46:12 +10:00
fixed whitespaces and quotes fixed whitespaces fixed devise.html.haml fixed method parenthesis in app/models/group.rb removed links from header removed links from devise.html added tests
15 lines
480 B
Ruby
15 lines
480 B
Ruby
class Public::GroupsController < ApplicationController
|
|
skip_before_filter :authenticate_user!,
|
|
:reject_blocked, :set_current_user_for_observers,
|
|
:add_abilities
|
|
|
|
layout "public_groups"
|
|
|
|
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]).per(20)
|
|
end
|
|
end
|