change to authenticate_user

This commit is contained in:
Stella Rouzi 2014-11-12 14:13:24 +02:00
parent 3be200abcc
commit acbc67173b

View file

@ -1,5 +1,5 @@
class SubscriptionsController < ApplicationController
before_filter :verify_user
before_filter :authenticate_user!
load_and_authorize_resource :conference, find_by: :short_title
load_and_authorize_resource only: [:create, :destroy], through: :conference