app/models/viewable/field/url.rb in rails_admin_cms-0.0.3 vs app/models/viewable/field/url.rb in rails_admin_cms-0.0.4

- old
+ new

@@ -10,10 +10,10 @@ scope :with_url, -> { where('url LIKE :url', url: '/%') } end class_methods do def names - raise NotImplementedError + "Naming::#{name}".constantize.names end def urls localized.with_url.pluck(:url) end \ No newline at end of file