X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=app%2Fcontrollers%2Frentable_policy_controller.rb;h=4151e6a1f02dbb37e16c777c572ec167fb450f6d;hb=HEAD;hp=84c4e7c643838db3606bdaee492326fea58a1858;hpb=233a6b122bc4aed44a0babee0797d2dba6da5b06;p=cs356-p2-videostore.git diff --git a/app/controllers/rentable_policy_controller.rb b/app/controllers/rentable_policy_controller.rb index 84c4e7c..4151e6a 100644 --- a/app/controllers/rentable_policy_controller.rb +++ b/app/controllers/rentable_policy_controller.rb @@ -1,4 +1,5 @@ class RentablePolicyController < ApplicationController + layout "admin" # Make sure that a user logs in before doing any action here before_filter :authorize, :only => [:index, :list, :show]