discourse/plugins/poll
Daniel Waterworth 6e161d3e75
DEV: Allow fab! without block (#24314)
The most common thing that we do with fab! is:

    fab!(:thing) { Fabricate(:thing) }

This commit adds a shorthand for this which is just simply:

    fab!(:thing)

i.e. If you omit the block, then, by default, you'll get a `Fabricate`d object using the fabricator of the same name.
2023-11-09 16:47:59 -06:00
..
app DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
assets DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
config Update translations (#23309) 2023-08-29 15:50:52 +02:00
db FIX: Cater for polls that can have multiple votes per user (#22297) 2023-06-27 18:58:16 +08:00
jobs/regular DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
lib SECURITY: Prevent unauthorized access to grouped poll results 2023-10-16 10:34:37 -04:00
spec DEV: Allow fab! without block (#24314) 2023-11-09 16:47:59 -06:00
test/javascripts DEV: Rename I18n imports to discourse-i18n (#23915) 2023-10-18 11:07:09 +01:00
plugin.rb REFACTOR: improve poll info layout (#22353) 2023-07-05 12:20:18 -04:00