Sha256: 97fe1737e949920c139d902f1232d1a3e79ccfd2d5933703351f46261b9dbf09

Contents?: true

Size: 231 Bytes

Versions: 17

Compression:

Stored size: 231 Bytes

Contents

class CancellationsController < ApplicationController
  def new
  end

  def create
    Current.<%= singular_table_name %>.destroy
    redirect_to sign_in_path, notice: "Bye! Your account has been successfully cancelled"
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
authentication-zero-2.0.0 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-1.0.2 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-1.0.1 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-1.0.0 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-0.0.24 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-0.0.23 lib/generators/authentication/templates/app/controllers/html/cancellations_controller.rb.tt
authentication-zero-0.0.22 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-0.0.21 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-0.0.20 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-0.0.19 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-0.0.18 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-0.0.17 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-0.0.16 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-0.0.15 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-0.0.14 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-0.0.13 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt
authentication-zero-0.0.12 lib/generators/authentication/templates/controllers/html/cancellations_controller.rb.tt