Sha256: b9567d50a711ed3d72e9e6e9809ea247ecf95956c418f57b913b30b7c9163677

Contents?: true

Size: 339 Bytes

Versions: 6

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true
require_dependency "decidim/application_controller"

module Decidim
  # The controller to handle managing the current user's
  # UserGroups.
  class OwnUserGroupsController < ApplicationController
    include Decidim::UserProfile

    def index
      @user_groups = current_user.user_groups
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-core-0.1.0 app/controllers/decidim/own_user_groups_controller.rb
decidim-core-0.0.8.1 app/controllers/decidim/own_user_groups_controller.rb
decidim-core-0.0.7 app/controllers/decidim/own_user_groups_controller.rb
decidim-core-0.0.6 app/controllers/decidim/own_user_groups_controller.rb
decidim-core-0.0.5 app/controllers/decidim/own_user_groups_controller.rb
decidim-core-0.0.3 app/controllers/decidim/own_user_groups_controller.rb