lib/generators/koudoku/install_generator.rb in koudoku-0.0.5 vs lib/generators/koudoku/install_generator.rb in koudoku-0.0.6

- old
+ new

@@ -55,10 +55,10 @@ # Update the owner relationship. gsub_file "app/models/#{subscription_owner_model}.rb", /ActiveRecord::Base/, "ActiveRecord::Base\n\n # Added by Koudoku.\n has_one :subscription\n\n" # Install the pricing table. ["_social_proof.html.erb"].each do |file| - copy_file "#{}file", "app/views/koudoku/subscriptions/#{file}" + copy_file file, "app/views/koudoku/subscriptions/#{file}" end # Add webhooks to the route. gsub_file "config/routes.rb", /Application.routes.draw do/, "Application.routes.draw do\n\n # Added by Koudoku.\n mount Koudoku::Engine, at: 'koudoku'\n match 'pricing' => 'koudoku::subscriptions#index', as: 'pricing'\n\n" \ No newline at end of file