lib/fish0/concerns/view_model.rb in fish0-0.0.10 vs lib/fish0/concerns/view_model.rb in fish0-0.0.11
- old
+ new
@@ -2,10 +2,10 @@
module Concerns
module ViewModel
extend ActiveSupport::Concern
included do
- include Virtus::Model
+ include Virtus.model
attribute :type, String
def type
(super || '').demodulize.underscore
end