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

Stylize `GroupTree` concern

parent cb8e67c2
...@@ -8,8 +8,8 @@ module GroupTree ...@@ -8,8 +8,8 @@ module GroupTree
@groups = groups.where(parent_id: params[:parent_id]) @groups = groups.where(parent_id: params[:parent_id])
end end
@groups = @groups.includes(:route) @groups = @groups.includes(:route)
@groups = @groups.sort(@sort = params[:sort]) .sort(@sort = params[:sort])
@groups = @groups.page(params[:page]) .page(params[:page])
respond_to do |format| respond_to do |format|
format.html 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