fixtures/dummy/app/views/comments/comment.rb in phlex-0.4.0 vs fixtures/dummy/app/views/comments/comment.rb in phlex-0.5.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
module Views
module Comments
- class Comment < Phlex::View
+ class Comment < ApplicationView
def initialize(name:, body:)
@name = name
@body = body
end