projects
/
opencantine5
/
opencantine5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Contrôler que l'object à afficher appartient à la même organisation que l'utilisateur
[opencantine5/opencantine5.git]
/
app
/
controllers
/
enfants_controller.rb
diff --git
a/app/controllers/enfants_controller.rb
b/app/controllers/enfants_controller.rb
index
873ac70
..
116ffa4
100644
(file)
--- a/
app/controllers/enfants_controller.rb
+++ b/
app/controllers/enfants_controller.rb
@@
-37,7
+37,7
@@
class EnfantsController < ApplicationController
# GET /enfants/1
# GET /enfants/1.json
def show
- authorize
E
nfant
+ authorize
@e
nfant
end
# GET /enfants/new