Commit 2c4d255323947079bc5d20c99ef6c7ffcf7e0cdd:
placate parser
Branch: refs/heads/master
Author: Sam Ruby <[email protected]>
Committer: Sam Ruby <[email protected]>
Pusher: rubys <[email protected]>
------------------------------------------------------------
www/board/agenda/views/models/agenda.js.rb | +++ ---
------------------------------------------------------------
6 changes: 3 additions, 3 deletions.
------------------------------------------------------------
diff --git a/www/board/agenda/views/models/agenda.js.rb
b/www/board/agenda/views/models/agenda.js.rb
index a00b702..160f0ee 100644
--- a/www/board/agenda/views/models/agenda.js.rb
+++ b/www/board/agenda/views/models/agenda.js.rb
@@ -181,9 +181,9 @@ def actions
end
def ready_for_review(initials)
- return defined? @approved and not self.missing and
- not @approved.include? initials and
- not (@flagged_by and @flagged_by.include? initials)
+ return defined?(@approved) && !self.missing &&
+ [email protected]?(initials) &&
+ !(@flagged_by && @flagged_by.include?(initials))
end
# the default view to use for the agenda as a whole