Fix admin/resources inherit

This commit is contained in:
nasia 2017-04-04 21:30:16 +03:00
parent d90d2344d6
commit 6414631a32

View file

@ -1,5 +1,5 @@
module Admin
class ResourcesController < ApplicationController
class ResourcesController < Admin::BaseController
load_and_authorize_resource :conference, find_by: :short_title
load_and_authorize_resource :resource, only: [:show, :edit, :update, :destroy]