projects
/
cs356-p2-videostore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Prettify the Purchase system
[cs356-p2-videostore.git]
/
app
/
controllers
/
gamegenre_controller.rb
diff --git
a/app/controllers/gamegenre_controller.rb
b/app/controllers/gamegenre_controller.rb
index
1293676
..
e3005b1
100644
(file)
--- a/
app/controllers/gamegenre_controller.rb
+++ b/
app/controllers/gamegenre_controller.rb
@@
-1,4
+1,8
@@
class GamegenreController < ApplicationController
+
+ # Make sure that a user logs in before doing any action here
+ before_filter :authorize
+
def index
list
render :action => 'list'