It's always hard to remove another layer of indirection...
This commit is contained in:
parent
6ab1bddd82
commit
b95d35d5d9
6 changed files with 5 additions and 16 deletions
|
|
@ -1,5 +1,5 @@
|
|||
class ConferenceRegistrationsController < ApplicationController
|
||||
before_filter :verify_user
|
||||
before_filter :authenticate_user!
|
||||
load_resource :conference, find_by: :short_title
|
||||
authorize_resource :conference_registrations, class: Registration
|
||||
before_action :set_registration, only: [:edit, :update, :destroy, :show]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue