Skip to content

Commit 50b250e

Browse files
authored
Update install_generator.rb
Signed-off-by: Yury Izotov <bestlowry@gmail.com>
1 parent 60871ca commit 50b250e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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: "include Phlex::Rails::Helpers::Routes" do
4646
"\n include RubyUI"
4747
end
4848
end

0 commit comments

Comments
 (0)