Class: Decidim::Votings::PollingOfficerZone::PollingOfficersController

Inherits:
ApplicationController show all
Defined in:
decidim-elections/app/controllers/decidim/votings/polling_officer_zone/polling_officers_controller.rb

Overview

Exposes the polling officer zone for polling officer users

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



13
14
15
# File 'decidim-elections/app/controllers/decidim/votings/polling_officer_zone/polling_officers_controller.rb', line 13

def index
  enforce_permission_to :view, :polling_officers, polling_officers:
end