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
|
||||
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
|
||||
|
||||
def index
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue