ManageIQ/manageiq-ui-classic

View on GitHub
app/controllers/mixins/generic_list_mixin.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
module Mixins
  module GenericListMixin
    def index
      redirect_to(:action => 'show_list')
    end

    def show_list
      @showtype = nil
      @center_toolbar = self.class.toolbar_plural if self.class.toolbar_plural
      process_show_list
    end
  end
end