foodsoft/plugins/polls
Patrick Gansterer d75b881318 Set Poll.multi_select_count to default value in model if nil
Since multi_select_count depends on the type of poll, we can not require
its presence via validates_presence_of, but can use the default value.
2020-07-29 09:14:30 +02:00
..
app Set Poll.multi_select_count to default value in model if nil 2020-07-29 09:14:30 +02:00
config Add polls plugin 2020-02-24 14:27:22 +01:00
db/migrate Add polls plugin 2020-02-24 14:27:22 +01:00
lib Add polls plugin 2020-02-24 14:27:22 +01:00
foodsoft_polls.gemspec Add polls plugin 2020-02-24 14:27:22 +01:00
Rakefile Add polls plugin 2020-02-24 14:27:22 +01:00
README.md Add polls plugin 2020-02-24 14:27:22 +01:00

FoodsoftPolls

This plugin adds polls to foodsoft. A new 'Polls' menu entry is added below the 'Foodcoops' menu in the navigation bar.

This plugin is enabled by default in foodsoft, so you don't need to do anything to install it. If you still want to, for example when it has been disabled, add the following to foodsoft's Gemfile:

gem 'foodsoft_polls', path: 'lib/foodsoft_polls'

This plugin introduces the foodcoop config option use_polls, which can be set to false to disable polls. May be useful in multicoop deployments.

This plugin is part of the foodsoft package and uses the AGPL-3 license (see foodsoft's LICENSE for the full license text).