aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/pdfresources_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/pdfresources_controller.rb')
-rw-r--r--app/controllers/pdfresources_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/pdfresources_controller.rb b/app/controllers/pdfresources_controller.rb
index a710404..3ea6503 100644
--- a/app/controllers/pdfresources_controller.rb
+++ b/app/controllers/pdfresources_controller.rb
@@ -1,6 +1,6 @@
class PdfresourcesController < ApplicationController
before_action :set_pdfresource, only: %i[ show edit update destroy ]
- before_action :require_admin, only: %i[ new create update destroy ]
+ before_action :require_admin, only: %i[ index new create update destroy ]
# GET /pdfresources or /pdfresources.json
def index