Class: Admin::AbilitiesController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/admin/abilities_controller.rb

Overview

Simple controller to summarise the allocated abilities

Instance Method Summary collapse

Instance Method Details

#indexObject


9
10
11
12
13
# File 'app/controllers/admin/abilities_controller.rb', line 9

def index
  ability_analysis = AbilityAnalysis.new
  @roles = ability_analysis.all_roles
  @permissions = ability_analysis.permission_matrix
end