vidpush/app/controllers/registrations_controller.rb

11 lines
309 B
Ruby
Raw Normal View History

class RegistrationsController < Devise::RegistrationsController
def new
flash[:info] = "Registrations are not open, please contact DEV."
redirect_to user_session_path
end
def create
flash[:info] = "Registrations are not open, please contact DEV."
redirect_to user_session_path
end
end