Skip to content

Commit 7ee1831

Browse files
authored
Remove string interpolation from generated ruby ui config (#242)
1 parent 965a7ed commit 7ee1831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/generators/ruby_ui/install/templates/ruby_ui.rb.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Rails.autoloaders.main.inflector.inflect(
1111

1212
# Allow using RubyUI::ComponentName instead Components::RubyUI::ComponentName
1313
Rails.autoloaders.main.push_dir(
14-
"#{Rails.root}/app/components/ruby_ui", namespace: RubyUI
14+
Rails.root.join("app/components/ruby_ui"), namespace: RubyUI
1515
)
1616

1717
# Allow using RubyUI::ComponentName instead RubyUI::ComponentName::ComponentName

0 commit comments

Comments
 (0)