Skip to content

Commit 5acfbc0

Browse files
Fixing error on installation (#301)
* Update install_generator.rb Signed-off-by: Yury Izotov <[email protected]> * Update install_generator.rb Co-authored-by: stephann <[email protected]> Signed-off-by: Yury Izotov <[email protected]> --------- Signed-off-by: Yury Izotov <[email protected]> Co-authored-by: stephann <[email protected]>
1 parent 60871ca commit 5acfbc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/generators/ruby_ui/install/install_generator.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def install_ruby_ui_initializer
4242

4343
def add_ruby_ui_module_to_components_base
4444
say "Adding RubyUI Kit to Components::Base"
45-
insert_into_file Rails.root.join("app/components/base.rb"), after: "include Components" do
45+
insert_into_file Rails.root.join("app/components/base.rb"), after: "class Components::Base < Phlex::HTML" do
4646
"\n include RubyUI"
4747
end
4848
end

0 commit comments

Comments
 (0)