Class: Role::PrivilegesController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/lesli_guard/role/privileges_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



37
38
39
# File 'app/controllers/lesli_guard/role/privileges_controller.rb', line 37

def index 
    respond_with_successful(RoleDescriptorService.new(current_user).privileges(@role))
end