Sha256: ff12fbaba000065355429bf2b6de501e2321d27c308e8e02af2c154813023709

Contents?: true

Size: 340 Bytes

Versions: 7

Compression:

Stored size: 340 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

7 entries across 7 versions & 1 rubygems

Version Path
decidim-core-0.4.2 app/controllers/decidim/own_user_groups_controller.rb
decidim-core-0.4.1 app/controllers/decidim/own_user_groups_controller.rb
decidim-core-0.4.0 app/controllers/decidim/own_user_groups_controller.rb
decidim-core-0.3.2 app/controllers/decidim/own_user_groups_controller.rb
decidim-core-0.3.1 app/controllers/decidim/own_user_groups_controller.rb
decidim-core-0.3.0 app/controllers/decidim/own_user_groups_controller.rb
decidim-core-0.2.0 app/controllers/decidim/own_user_groups_controller.rb