Small Cleanups + Merchandise Search
[cs356-p2-videostore.git] / app / controllers / rentable_controller.rb
index f8c6f51..ca9dad6 100644 (file)
@@ -1,4 +1,8 @@
 class RentableController < ApplicationController
+
+  # Make sure that a user logs in before doing any action here
+  before_filter :authorize
+
   def index
     list
     render :action => 'list'