Class: Decidim::ActionDelegator::UserDelegationsController

Inherits:
ApplicationController
  • Object
show all
Includes:
UserProfile
Defined in:
app/controllers/decidim/action_delegator/user_delegations_controller.rb

Overview

This controller handles user profile actions for this module

Instance Method Summary collapse

Instance Method Details

#indexObject



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

def index
  enforce_permission_to :read, :user, current_user: current_user
end