Skip to content

Commit

Permalink
Fix weird error when adding library to real app
Browse files Browse the repository at this point in the history
When attempting to test integration between the gem and a real Rails
app, I received a weird error coming from the
`raise_if_slot_ends_with_question_mark` method inside the
`view_component` gem. This didn't happen when I last tested the
integration, which is very odd indeed.

Relevant PR: ViewComponent/view_component#1905
  • Loading branch information
leeky committed Dec 11, 2023
1 parent 4e5157f commit 25014b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/citizens_advice_form_builder/form_builder.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# frozen_string_literal: true

require "action_view"
require "active_support/core_ext/string/starts_ends_with"
require "citizens_advice_components"

require CitizensAdviceComponents::Engine.root.join("app", "lib", "citizens_advice_components", "fetch_or_fallback_helper")
Expand Down

0 comments on commit 25014b3

Please sign in to comment.