fixtures/dummy/app/views/articles/link.rb in phlexible-0.1.0 vs fixtures/dummy/app/views/articles/link.rb in phlexible-0.2.0
- old
+ new
@@ -1,9 +1,9 @@
# frozen_string_literal: true
class Views::Articles::Link < Phlex::HTML
- include Phlexible::Rails::AnchorElement
+ include Phlexible::Rails::AElement
def template
- a(href: :root) { 'A link to root' }
+ a(href: :root, class: :foo) { 'A link to root' }
end
end