lib/hanamismith/builders/slices/health.rb in hanamismith-0.28.0 vs lib/hanamismith/builders/slices/health.rb in hanamismith-0.28.1

- old
+ new

@@ -48,11 +48,13 @@ .replace("<!-- favicon -->", favicon) .replace("<!-- yield -->", "<%= yield %>") end def favicon - %(<%= favicon_tag "icon.svg", title: "#{configuration.project_label}: Icon", rel: ) + - %(:icon, type: "image/svg+xml" %>) + %(<%= favicon_tag app_assets["icon.svg"],\n) + + %( title: "#{configuration.project_label}: Icon",\n) + + %( rel: :icon,\n) + + %( type: "image/svg+xml" %>) end def add_show_template path = "%project_name%/slices/health/templates/show.html.erb.erb"