Add Rental Policies and Limits
[cs356-p2-videostore.git] / app / controllers / merchandise_controller.rb
index 062a3ef..fb7beff 100644 (file)
@@ -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'