Sha256: f88a8f286749bb5b54029b80c00ff497ab6128f0a4a067ab412029ae561722f9

Contents?: true

Size: 194 Bytes

Versions: 14

Compression:

Stored size: 194 Bytes

Contents

module Adminpanel
  class RolesController < Adminpanel::ApplicationController

    private
    def role_params
      params.require(:role).permit(:name, {permission_ids: []})

    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
adminpanel-2.6.1 app/controllers/adminpanel/roles_controller.rb
adminpanel-2.6.0 app/controllers/adminpanel/roles_controller.rb
adminpanel-2.5.5 app/controllers/adminpanel/roles_controller.rb
adminpanel-2.5.4 app/controllers/adminpanel/roles_controller.rb
adminpanel-2.5.3 app/controllers/adminpanel/roles_controller.rb
adminpanel-2.5.2 app/controllers/adminpanel/roles_controller.rb
adminpanel-2.5.1 app/controllers/adminpanel/roles_controller.rb
adminpanel-2.5.0 app/controllers/adminpanel/roles_controller.rb
adminpanel-2.4.3 app/controllers/adminpanel/roles_controller.rb
adminpanel-2.4.2 app/controllers/adminpanel/roles_controller.rb
adminpanel-2.4.1 app/controllers/adminpanel/roles_controller.rb
adminpanel-2.4.0 app/controllers/adminpanel/roles_controller.rb
adminpanel-2.3.1 app/controllers/adminpanel/roles_controller.rb
adminpanel-2.3.0 app/controllers/adminpanel/roles_controller.rb