null-open-security-community/swachalit

View on GitHub
app/controllers/registrations_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class RegistrationsController < Devise::RegistrationsController
  before_filter :devise_verify_captcha, :only => [ :create ]
  
  def destroy
    redirect_to '/'
  end

  def after_inactive_sign_up_path_for(resource)
    '/signup/confirm'
  end

end