lib/fish0/concerns/view_model.rb in fish0-0.0.1 vs lib/fish0/concerns/view_model.rb in fish0-0.0.2
- old
+ new
@@ -10,10 +10,10 @@
def type
(super || '').demodulize.underscore
end
def to_partial_path
- "#{type}"
+ type.to_s
end
end
end
end
end