mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Merge pull request #1434 from nasia-sam/admin_resources
Fix admin/resources inherit
This commit is contained in:
commit
dae9aca2c5
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue