X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=app%2Fcontrollers%2Fgame_policy_controller.rb;h=f2ca039e76675a21c81d0245e510361cf74faf89;hb=HEAD;hp=1d5dc09877f2672b818cae74fcf08a960cb62e46;hpb=233a6b122bc4aed44a0babee0797d2dba6da5b06;p=cs356-p2-videostore.git diff --git a/app/controllers/game_policy_controller.rb b/app/controllers/game_policy_controller.rb index 1d5dc09..f2ca039 100644 --- a/app/controllers/game_policy_controller.rb +++ b/app/controllers/game_policy_controller.rb @@ -1,4 +1,5 @@ class GamePolicyController < ApplicationController + layout "admin" # Make sure that the user has logged in before they can take any action before_filter :authorize, :only => [:index, :list, :show]