diff --git a/app/models/app.rb b/app/models/app.rb index 951a708..8447ffe 100644 --- a/app/models/app.rb +++ b/app/models/app.rb @@ -99,12 +99,12 @@ class App # Legacy apps don't have notify_on_errs and notify_on_deploys params def notify_on_errs - !(self[:notify_on_errs] == false) + !(super == false) end alias :notify_on_errs? :notify_on_errs def notify_on_deploys - !(self[:notify_on_deploys] == false) + !(super == false) end alias :notify_on_deploys? :notify_on_deploys diff --git a/app/models/user.rb b/app/models/user.rb index 4a3034e..39abe6d 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -33,7 +33,7 @@ class User end def per_page - self[:per_page] || PER_PAGE + super || PER_PAGE end def watching?(app) -- libgit2 0.21.2