diff options
author | Rubén Dávila <rdavila84@gmail.com> | 2016-01-20 17:29:53 -0500 |
---|---|---|
committer | Rubén Dávila <rdavila84@gmail.com> | 2016-01-20 17:29:53 -0500 |
commit | 4d345bc4003022ca22b5e7f42069c5a6bde41b6c (patch) | |
tree | 95d12650e1fa9ddca5223b3f5ad723f865e983d9 /app/models/group.rb | |
parent | 1553c560e0d02e670b7cec2b443545e67418b569 (diff) | |
download | gitlab-ce-4d345bc4003022ca22b5e7f42069c5a6bde41b6c.tar.gz |
Remember last sort option used.
Diffstat (limited to 'app/models/group.rb')
-rw-r--r-- | app/models/group.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/group.rb b/app/models/group.rb index 5a31b46920c..3ba18b85193 100644 --- a/app/models/group.rb +++ b/app/models/group.rb @@ -19,7 +19,8 @@ require 'file_size_validator' class Group < Namespace include Gitlab::ConfigHelper include Referable - + include CookieHelpers + has_many :group_members, dependent: :destroy, as: :source, class_name: 'GroupMember' alias_method :members, :group_members has_many :users, through: :group_members |