Sha256: 7003b75ba2ccfd80932d0cf27f2c790819f3a04d04ef90615655a2874f8d963a

Contents?: true

Size: 364 Bytes

Versions: 19

Compression:

Stored size: 364 Bytes

Contents

module RailsFootnotes
  module Generators
    class InstallGenerator < Rails::Generators::Base
      source_root File.expand_path("../../templates", __FILE__)

      desc "Copy rails-footnotes initializer to your application."

      def copy_initializer
        template "rails_footnotes.rb", "config/initializers/rails_footnotes.rb"
      end

    end
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
rails-footnotes-7.1.0 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-7.0.1 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-7.0.0 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-5.0.0 lib/generators/rails_footnotes/install_generator.rb
rails6-footnotes-5.0.2 lib/generators/rails_footnotes/install_generator.rb
rails6-footnotes-5.0.1 lib/generators/rails_footnotes/install_generator.rb
rails6-footnotes-5.0.0 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-4.1.8 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-4.1.7 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-4.1.6 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-4.1.5 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-4.1.4 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-4.1.3 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-4.1.2 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-4.1.1 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-4.1.0 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-4.0.2 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-4.0.1 lib/generators/rails_footnotes/install_generator.rb
rails-footnotes-4.0.0 lib/generators/rails_footnotes/install_generator.rb