Class: Decidim::Admin::AuthorizationWorkflowsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/decidim/admin/authorization_workflows_controller.rb

Instance Method Summary collapse

Methods inherited from ApplicationController

#current_ability_klass, #user_not_authorized_path

Instance Method Details

#indexObject



8
9
10
11
12
# File 'app/controllers/decidim/admin/authorization_workflows_controller.rb', line 8

def index
  authorize! :index, :authorization_workflows

  @workflows = Decidim::Verifications.admin_workflows
end