only load conference in index
This commit is contained in:
parent
6e8998a2c1
commit
c57c15de77
1 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
module Admin
|
module Admin
|
||||||
class VersionsController < Admin::BaseController
|
class VersionsController < Admin::BaseController
|
||||||
load_resource :conference, find_by: :short_title
|
load_resource :conference, find_by: :short_title, only: :index
|
||||||
load_and_authorize_resource class: PaperTrail::Version
|
load_and_authorize_resource class: PaperTrail::Version
|
||||||
|
|
||||||
def index
|
def index
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue