diff --git a/lib/generators/koudoku/install_generator.rb b/lib/generators/koudoku/install_generator.rb index 060d3b7..753b1c6 100644 --- a/lib/generators/koudoku/install_generator.rb +++ b/lib/generators/koudoku/install_generator.rb @@ -53,6 +53,10 @@ def install # Install the pricing table. copy_file "app/views/koudoku/subscriptions/_social_proof.html.erb" + # Enable Koudoku helpers + inject_into_class "app/helpers/application_helper.rb", ApplicationHelper, + "# Added by Koudoku.\n include Koudoku::ApplicationHelper\n\n" + # Add webhooks to the route. route <<-RUBY