Project

General

Profile

« Previous | Next » 

Revision 95a66717

Added by Marek Hulán over 10 years ago

Fixes #3962 - Refactor class overwriting

View differences:

app/models/operatingsystems/archlinux.rb
medium_uri(host).to_s
end
# Override the class representation, as this breaks many rails helpers
def class
Operatingsystem
end
def pxe_type
"aif"
end
......
"Arch Linux"
end
def self.model_name
superclass.model_name
end
end

Also available in: Unified diff