diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2017-02-08 21:45:19 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2017-02-08 21:45:19 +0300 |
commit | 8820f3cdd2b04735f7c09b914ebaf186d2b9331d (patch) | |
tree | 541be27f62ebe75a8a4f332cec453b95e65da72c /app/controllers/admin/groups_controller.rb | |
parent | 66f9476a3740167c28a3fcf55f89c76653d829a4 (diff) | |
parent | 2989192d1aa8051aa09164cd097418bd3063d4ad (diff) |
Merge branch 'dz-refactor-full-path' into 'master'
Store group and project full name and full path in routes table
See merge request !8979
Diffstat (limited to 'app/controllers/admin/groups_controller.rb')
-rw-r--r-- | app/controllers/admin/groups_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/groups_controller.rb b/app/controllers/admin/groups_controller.rb index 8d0198f8797..cea3d088e94 100644 --- a/app/controllers/admin/groups_controller.rb +++ b/app/controllers/admin/groups_controller.rb @@ -2,7 +2,7 @@ class Admin::GroupsController < Admin::ApplicationController before_action :group, only: [:edit, :update, :destroy, :project_update, :members_update] def index - @groups = Group.with_statistics + @groups = Group.with_statistics.with_route @groups = @groups.sort(@sort = params[:sort]) @groups = @groups.search(params[:name]) if params[:name].present? @groups = @groups.page(params[:page]) |