adds verified users concept

This commit is contained in:
rgarcia
2015-08-27 23:56:10 +02:00
parent 671399bb89
commit 3fc8d830f1
3 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
class Verification::VerifiedUserController < ApplicationController
before_action :authenticate_user!
skip_authorization_check
def show
@verified_users = VerifiedUser.by_user(current_user)
redirect_to new_sms_path if @verified_users.blank?
end
end