class AdminInvitable::InstallGenerator

Public Instance Methods

override_default_views() click to toggle source
# File lib/generators/admin_invitable/install/install_generator.rb, line 4
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