Class: Decidim::OwnUserGroupsController

Inherits:
ApplicationController show all
Includes:
UserProfile
Defined in:
app/controllers/decidim/own_user_groups_controller.rb

Overview

The controller to handle managing the current user’s UserGroups.

Instance Method Summary collapse

Methods included from UserProfile

#available_authorization_handlers

Instance Method Details

#indexObject



11
12
13
# File 'app/controllers/decidim/own_user_groups_controller.rb', line 11

def index
  @user_groups = current_user.user_groups
end