Sha256: 3ae5832378fe5aaa9fa251a4dcab4aa4416b911721877d8f0810ea4191587f69

Contents?: true

Size: 432 Bytes

Versions: 3

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

3 entries across 3 versions & 1 rubygems

Version Path
bootbox_crud-0.2.1 lib/generators/bootbox_crud/install_generator.rb
bootbox_crud-0.2.0 lib/generators/bootbox_crud/install_generator.rb
bootbox_crud-0.1.1.7 lib/generators/bootbox_crud/install_generator.rb