znamenica/dneslov

View on GitHub
app/models/links/service_link.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
class ServiceLink < Link
   include Languageble

   has_alphabeth novalidate: true

   validates :url, uri: { allow_lost_slash: true }

   belongs_to :info, inverse_of: :service_links, polymorphic: true
end