X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fcontrollers%2Frentable_controller.rb;h=ca9dad6dd47bd0987682e58b23f4c558f92320f8;hb=c372b648227285462ed99c4f608905f690faf827;hp=f8c6f5151e6925de262ecee4a4b87961d339dafc;hpb=7ab58ec3c4bc5d29a77db40341840ad7eac97be0;p=cs356-p2-videostore.git diff --git a/app/controllers/rentable_controller.rb b/app/controllers/rentable_controller.rb index f8c6f51..ca9dad6 100644 --- a/app/controllers/rentable_controller.rb +++ b/app/controllers/rentable_controller.rb @@ -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'