class GuestDeviceController < ApplicationController
  include Mixins::GenericListMixin
  include Mixins::GenericShowMixin
  include Mixins::MoreShowActions
  include Mixins::GenericSessionMixin

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

  feature_for_actions "#{controller_name}_show_list", *ADV_SEARCH_ACTIONS

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

  def title
    _('Guest Devices')
  end

  def model
    self.class.model
  end

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

  def set_session_data
    super
    session[:layout] = @layout
  end

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

class GuestDeviceController < ApplicationController
  include Mixins::GenericListMixin
  include Mixins::GenericShowMixin
  include Mixins::MoreShowActions
  include Mixins::GenericSessionMixin

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

  feature_for_actions "#{controller_name}_show_list", *ADV_SEARCH_ACTIONS

  def title
    _('Guest Devices')
  end

  def model
    self.class.model
  end

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

  def set_session_data
    super
    session[:layout] = @layout
  end

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

Use superclass method, removing needlessly overidden method
Use superclass method, removing needlessly overidden method

They have the same result:

```
irb(main):002:0> GuestDeviceController.method(:model).source_location
=> ["/Users/joerafaniello/.gem/ruby/2.6.6/bundler/gems/manageiq-ui-classic-96fc53321eda/app/controllers/guest_device_controller.rb", 14]
irb(main):003:0> GuestDeviceController.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):005:0> GuestDeviceController.method(:model).call == GuestDeviceController.method(:model).super_method.call
=> true
```
