aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/resources_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/resources_controller.rb')
-rw-r--r--app/controllers/resources_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/resources_controller.rb b/app/controllers/resources_controller.rb
index d7fd822..75fcedf 100644
--- a/app/controllers/resources_controller.rb
+++ b/app/controllers/resources_controller.rb
@@ -1,5 +1,5 @@
class ResourcesController < ApplicationController
- before_action :set_resource, only: [:new, :edit, :update, :delete, :destroy]
+ before_action :set_resource, only: [:new, :show, :edit, :update, :delete, :destroy]
# GET /resources
def index