class GamePolicyController < ApplicationController
+
+ # Make sure that the user has logged in before they can take any action
+ before_filter :authorize, :only => [:index, :list, :show]
+
+ # Make sure the user is a manager if they want to modify data
+ before_filter :manager, :only => [:new, :create, :edit, :update, :destroy]
+
def index
list
render :action => 'list'