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,5 +1,6 @@
class Verification::EmailController < ApplicationController
before_action :authenticate_user!
before_action :verify_verified!
before_action :set_verified_user, only: :create
skip_authorization_check