Change the default route to the login page
[cs356-p2-videostore.git] / app / controllers / gameplatform_controller.rb
index 30aadf9..4e009c8 100644 (file)
@@ -1,4 +1,8 @@
 class GameplatformController < ApplicationController
+
+  # Make sure that a user logs in before doing any action here
+  before_filter :authorize
+
   def index
     list
     render :action => 'list'