Questions about where pollTypes actually defined
I tried to figure out how to start a default type of poll. I traced back to poll_common_start_form and find $scope.pollTypes = > AppConfig.pollTypes, but the file 'shared/services/app_config' is nearly empty. Where are some files I should look at to figure out what's going on when you click a button and the program knows which type you choose?
Hi @yinyin. PollTypes are defined in config/poll_templates.yml
FYI: Our intention in the next 3 months is to move this to the database, and allow users to create their own poll templates for their group.
$scope.pollTypes = -> AppConfig.pollTypes