Sha256: 6d77a56aa73cc69b03398766ff5264a2a510f1dae119c124d8cc9cfcebbaaeab

Contents?: true

Size: 347 Bytes

Versions: 5

Compression:

Stored size: 347 Bytes

Contents

class AdminInvitable::InstallGenerator < Rails::Generators::Base
  source_root File.expand_path('../templates', __FILE__)

  def override_default_views
    copy_file "edit.html.erb", "app/views/devise/invitations/edit.html.erb"
    copy_file "invitation_instructions.html.erb", "app/views/devise/mailer/invitation_instructions.html.erb"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
admin_invitable-1.0.0 lib/generators/admin_invitable/install/install_generator.rb
admin_invitable-0.1.0 lib/generators/admin_invitable/install/install_generator.rb
admin_invitable-0.0.3 lib/generators/admin_invitable/install/install_generator.rb
admin_invitable-0.0.2 lib/generators/admin_invitable/install/install_generator.rb
admin_invitable-0.0.1 lib/generators/admin_invitable/install/install_generator.rb