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
Ajustement Absence
[opencantine5/opencantine5.git]
/
app
/
models
/
absence.rb
diff --git
a/app/models/absence.rb
b/app/models/absence.rb
index
baf7633
..
6e2bcb2
100644
(file)
--- a/
app/models/absence.rb
+++ b/
app/models/absence.rb
@@
-3,6
+3,9
@@
class Absence < ApplicationRecord
belongs_to :enfant
+ has_one :organisation, through: :enfant
+
+
self.per_page = 10
end