This is an automated email from the ASF dual-hosted git repository. rubys pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/whimsy.git
commit 4ac100cc09e73ef129a155918d3aa14f1de307ef Author: Sam Ruby <[email protected]> AuthorDate: Wed May 16 12:46:38 2018 -0400 take advantage of enhanced find --- www/board/agenda/views/models/minutes.js.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/board/agenda/views/models/minutes.js.rb b/www/board/agenda/views/models/minutes.js.rb index 4b8bbe1..5b4276b 100644 --- a/www/board/agenda/views/models/minutes.js.rb +++ b/www/board/agenda/views/models/minutes.js.rb @@ -20,8 +20,7 @@ class Minutes pattern = RegExp.new('^(?:@|AI\s+)(\w+):?\s+([\s\S]*?)(\n\n|$)', 'g') match = pattern.exec(minutes) while match - actions << {owner: match[1], text: match[2], - item: Agenda.find(title.gsub(/\W+/, '-'))} + actions << {owner: match[1], text: match[2], item: Agenda.find(title)} match = pattern.exec(minutes) end end -- To stop receiving notification emails like this one, please contact [email protected].
