Refactor admin/call_for_booth controller

This commit is contained in:
nasia 2017-06-10 23:50:31 +03:00
parent 6a8b9f8d2d
commit a5ce1239f2
17 changed files with 182 additions and 18 deletions

View file

@ -0,0 +1,21 @@
module Admin
class Admin::BoothsController < Admin::BaseController
load_and_authorize_resource :conference, find_by: :short_title
load_and_authorize_resource :booth, through: :conference
def index
@booths = @conference.booths
end
def show; end
def new; end
def create; end
def update; end
def destroy; end
end
end