It's always hard to remove another layer of indirection...

This commit is contained in:
Henne Vogelsang 2014-11-06 14:58:51 +01:00
parent 6ab1bddd82
commit b95d35d5d9
6 changed files with 5 additions and 16 deletions

View file

@ -1,5 +1,5 @@
class ProposalController < ApplicationController
before_filter :verify_user, except: [:show]
before_filter :authenticate_user!, except: [:show]
load_resource :conference, find_by: :short_title
load_and_authorize_resource :event, parent: false, through: :conference