Skip to content

Commit

Permalink
Add display name for guest device
Browse files Browse the repository at this point in the history
  • Loading branch information
mzazrivec committed Jun 12, 2018
1 parent d29689f commit d92a194
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/models/guest_device.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ def self.with_ethernet_type
def self.with_storage_type
where(:device_type => "storage")
end

def self.display_name(number = 1)
n_('Guest Device', 'Guest Devices', number)
end
end

0 comments on commit d92a194

Please sign in to comment.