Commit ce92699e31522799ff6af6828d2e73ec21fd4bfd
1 parent
226be609
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
rails3: fix pairwise block
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
plugins/pairwise/lib/pairwise_plugin/questions_group_list_block.rb
| ... | ... | @@ -10,6 +10,8 @@ class PairwisePlugin::QuestionsGroupListBlock < Block |
| 10 | 10 | |
| 11 | 11 | settings_items :group_description, :type => String |
| 12 | 12 | |
| 13 | + attr_accessible :group_description, :questions_ids, :random_sort | |
| 14 | + | |
| 13 | 15 | def content(args={}) |
| 14 | 16 | block = self |
| 15 | 17 | questions = questions.shuffle if(questions) | ... | ... |