adds before action for verified users

This commit is contained in:
Juanjo Bazán
2015-09-11 16:44:52 +02:00
parent 1296668606
commit f517d7f410
7 changed files with 23 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
class Verification::SmsController < ApplicationController
before_action :authenticate_user!
before_action :verify_resident!
before_action :verify_verified!
before_action :verify_lock, only: [:new, :create]
before_action :set_phone, only: :create