This repository has been archived on 2023-03-18. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
osr-discourse-src/plugins/poll/config/settings.yml
T
Luke GB 9f31c3d235 Expose poll_maximum_options to client
At present this doesn't actually seem to be exposed to the client.

I discovered this by accident whilst trying to write my own plugin:

https://github.com/discourse/discourse/blob/7b6d6b76eb3b7dbf1982c382a1f0e981e7ff8eee/app/models/site_setting.rb#L17-L18
2015-07-19 21:41:14 +01:00

7 lines
100 B
YAML

plugins:
poll_enabled:
default: true
poll_maximum_options:
default: 20
client: true