Skip to content

Commit

Permalink
Fix incorrect helper inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
allmarkedup committed Sep 24, 2023
1 parent 44deac0 commit 9d4191b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lookbook/preview_controller_actions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module PreviewControllerActions

included do
helper PreviewHelper
send(:helper, Lookbook::Engine.routes.url_helpers) # YARD parsing workaround: https://github.com/lsegal/yard/issues/546
send(:helper, Rails.application.routes.url_helpers) # YARD parsing workaround: https://github.com/lsegal/yard/issues/546
prepend_view_path Engine.root.join("app/views")

def render_scenario_to_string(preview, scenario)
Expand Down

0 comments on commit 9d4191b

Please sign in to comment.