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_verification_workflows

Methods included from UserGroups

#enforce_user_groups_enabled

Methods included from NeedsSnippets

#snippets

Methods included from HttpCachingDisabler

#disable_http_caching

Methods included from RegistersPermissions

register_permissions

Methods included from NeedsOrganization

enhance_controller, extended, included

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