X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fcontrollers%2Fcustomer_controller.rb;h=1e560c0e67236fa049fe2ea3c328a0631f8096a7;hb=233a6b122bc4aed44a0babee0797d2dba6da5b06;hp=9aba9777e277123b9bfc125649043f47da88701f;hpb=9937b32d7394e77fa89915b66f9645024ccb2009;p=cs356-p2-videostore.git diff --git a/app/controllers/customer_controller.rb b/app/controllers/customer_controller.rb index 9aba977..1e560c0 100644 --- a/app/controllers/customer_controller.rb +++ b/app/controllers/customer_controller.rb @@ -1,4 +1,8 @@ class CustomerController < ApplicationController + + # Make sure that the user has logged in before they can take any action + before_filter :authorize + def index list render :action => 'list'