lib/generators/authentication/templates/controllers/api/cancellations_controller.rb.tt in authentication-zero-0.0.11 vs lib/generators/authentication/templates/controllers/api/cancellations_controller.rb.tt in authentication-zero-0.0.12
- old
+ new
@@ -1,5 +1,5 @@
class CancellationsController < ApplicationController
- def destroy
+ def create
Current.<%= singular_table_name %>.destroy
end
end