X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fcontrollers%2Fmerchandise_controller.rb;h=fb7beff95fb441f2f2d656140aa771351eaa6be2;hb=53634274872ef0ba36cbf94e23df4443ea5613d5;hp=062a3ef644b81f891df9cfefe2a9fee99d9a57c4;hpb=f4a463b2d77fccc4919aea19a54736db6e485688;p=cs356-p2-videostore.git diff --git a/app/controllers/merchandise_controller.rb b/app/controllers/merchandise_controller.rb index 062a3ef..fb7beff 100644 --- a/app/controllers/merchandise_controller.rb +++ b/app/controllers/merchandise_controller.rb @@ -1,4 +1,8 @@ class MerchandiseController < ApplicationController + + # Make sure that a user logs in before doing any action here + before_filter :authorize + def index list render :action => 'list'