Class: Decidim::OwnUserGroupsController

Inherits:
ApplicationController show all
Includes:
UserProfile
Defined in:
decidim-core/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 UserBlockedChecker

#check_user_block_status, #check_user_not_blocked

Methods included from NeedsSnippets

#snippets

Methods included from Headers::HttpCachingDisabler

#disable_http_caching

Methods included from HasStoredPath

#skip_store_location?, #store_current_location

Methods included from RegistersPermissions

register_permissions

Methods included from NeedsOrganization

enhance_controller, extended, included

Instance Method Details

#indexObject



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

def index
  @user_groups = current_user.user_groups
end