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
Amélioration visibilité (card)
[opencantine5/opencantine5.git]
/
app
/
controllers
/
comptes_controller.rb
diff --git
a/app/controllers/comptes_controller.rb
b/app/controllers/comptes_controller.rb
index
434a5b1
..
2a63a43
100644
(file)
--- a/
app/controllers/comptes_controller.rb
+++ b/
app/controllers/comptes_controller.rb
@@
-37,6
+37,8
@@
class ComptesController < ApplicationController
end
def balance
+ authorize (Compte)
+
@compte = Compte.friendly.find(params[:compte_id])
@releve = []
@solde = 0.00