Commit 9870453e authored by Bob Van Landuyt's avatar Bob Van Landuyt

Stylize `GroupTree` concern

parent cb8e67c2
......@@ -8,8 +8,8 @@ module GroupTree
@groups = groups.where(parent_id: params[:parent_id])
end
@groups = @groups.includes(:route)
@groups = @groups.sort(@sort = params[:sort])
@groups = @groups.page(params[:page])
.sort(@sort = params[:sort])
.page(params[:page])
respond_to do |format|
format.html
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment