X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fcontrollers%2Fvideo_policy_controller.rb;h=7999bc0d689c259de7dc402dfb94291128d9cb1b;hb=refs%2Ftags%2Fturned-in;hp=918c2e46b3d3dd09fa59cdc9d6445d9ebf584770;hpb=233a6b122bc4aed44a0babee0797d2dba6da5b06;p=cs356-p2-videostore.git diff --git a/app/controllers/video_policy_controller.rb b/app/controllers/video_policy_controller.rb index 918c2e4..7999bc0 100644 --- a/app/controllers/video_policy_controller.rb +++ b/app/controllers/video_policy_controller.rb @@ -1,4 +1,5 @@ class VideoPolicyController < ApplicationController + layout "admin" # Make sure that a user logs in before doing any action here before_filter :authorize, :only => [:index, :list, :show]