From ee35c8d22fae339e207044bfc5c1f275b30ea247 Mon Sep 17 00:00:00 2001 From: Milan Zazrivec Date: Thu, 1 Feb 2018 11:01:46 +0100 Subject: [PATCH] Add display_name() for Network Router model --- .../providers/amazon/network_manager/network_router.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/models/manageiq/providers/amazon/network_manager/network_router.rb b/app/models/manageiq/providers/amazon/network_manager/network_router.rb index a1665c5cf..5d839ddd0 100644 --- a/app/models/manageiq/providers/amazon/network_manager/network_router.rb +++ b/app/models/manageiq/providers/amazon/network_manager/network_router.rb @@ -1,2 +1,5 @@ class ManageIQ::Providers::Amazon::NetworkManager::NetworkRouter < ::NetworkRouter + def self.display_name(number = 1) + n_('Network Router (Amazon)', 'Network Routers (Amazon)', number) + end end