class PhysicalNetworkPortController < ApplicationController
  include Mixins::GenericListMixin
  include Mixins::GenericShowMixin
  include Mixins::GenericSessionMixin

  before_action :check_privileges
  before_action :get_session_data
  after_action :cleanup_action
  after_action :set_session_data

  def self.model
    @model ||= "PhysicalNetworkPort".safe_constantize
  end

  def title
    _('Network Ports')
  end

  def model
    self.class.model
  end

  def self.table_name
    @table_name ||= "physical_network_ports"
  end

  def show
    assert_privileges('physical_switch_show')
    super
  end

  def show_list
    assert_privileges('physical_switch_show')
    super
  end

  def download_data
    assert_privileges('physical_switch_show')
    super
  end

  def download_summary_pdf
    assert_privileges('physical_switch_show')
    super
  end

  def textual_group_list
    [
      %i[properties],
    ]
  end
  helper_method(:textual_group_list)
end

class PhysicalNetworkPortController < ApplicationController
  include Mixins::GenericListMixin
  include Mixins::GenericShowMixin
  include Mixins::GenericSessionMixin

  before_action :check_privileges
  before_action :get_session_data
  after_action :cleanup_action
  after_action :set_session_data

  def title
    _('Network Ports')
  end

  def model
    self.class.model
  end

  def self.table_name
    @table_name ||= "physical_network_ports"
  end

  def show
    assert_privileges('physical_switch_show')
    super
  end

  def show_list
    assert_privileges('physical_switch_show')
    super
  end

  def download_data
    assert_privileges('physical_switch_show')
    super
  end

  def download_summary_pdf
    assert_privileges('physical_switch_show')
    super
  end

  def textual_group_list
    [
      %i[properties],
    ]
  end
  helper_method(:textual_group_list)
end

Use the existing superclass method and drop the overridden method
Use the existing superclass method and drop the overridden method

I doubt we're calling this enough to need this method at all, just let the
superclass handle it.

```
irb(main):001:0> PhysicalNetworkPortController.method(:model).source_location
=> ["/Users/joerafaniello/.gem/ruby/2.6.6/bundler/gems/manageiq-ui-classic-96fc53321eda/app/controllers/physical_network_port_controller.rb", 11]
irb(main):002:0> PhysicalNetworkPortController.method(:model).super_method.source_location
=> ["/Users/joerafaniello/.gem/ruby/2.6.6/bundler/gems/manageiq-ui-classic-96fc53321eda/app/controllers/application_controller.rb", 145]
irb(main):003:0> PhysicalNetworkPortController.method(:model).call == PhysicalNetworkPortController.method(:model).super_method.call
=> true
```
