Revision 66c04a75
Added by Daniel Lobato Garcia over 8 years ago
app/controllers/usergroups_controller.rb | ||
---|---|---|
|
||
def get_external_usergroups_to_refresh
|
||
# we need to load current status, so we call all explicitly
|
||
@external_usergroups = @usergroup.external_usergroups.all
|
||
@external_usergroups = @usergroup.external_usergroups.to_a
|
||
end
|
||
|
||
def external_usergroups
|
Also available in: Unified diff
Fixes #12691 - Small Rails 4 backwards compatible changes
Following on 10409, rebasing the Rails 4 PR with develop has needed some
changes that can be backported to develop now.