Sha256: a2e2804d94ed392923143ea6d988646ace7d227fe5c30f3a16e4f81969cbd2ca

Contents?: true

Size: 432 Bytes

Versions: 7

Compression:

Stored size: 432 Bytes

Contents

class BootboxCrud::InstallGenerator < ::Rails::Generators::Base
  desc "Copies BootboxCrud default files"
  source_root File.expand_path('../templates', __FILE__)

  def copy_config
    template "config/initializers/simple_form.rb"
    template "config/initializers/simple_form_bootstrap.rb"
    template "app/assets/javascripts/models.js"
  end

  def show_readme
    if behavior == :invoke
      readme "README"
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bootbox_crud-0.1.1.6 lib/generators/bootbox_crud/install_generator.rb
bootbox_crud-0.1.1.5 lib/generators/bootbox_crud/install_generator.rb
bootbox_crud-0.1.1.4 lib/generators/bootbox_crud/install_generator.rb
bootbox_crud-0.1.1.3 lib/generators/bootbox_crud/install_generator.rb
bootbox_crud-0.1.1.2 lib/generators/bootbox_crud/install_generator.rb
bootbox_crud-0.1.1.1 lib/generators/bootbox_crud/install_generator.rb
bootbox_crud-0.1.1 lib/generators/bootbox_crud/install_generator.rb