Commit 419fe2e5621c4bdfec4de6079dec1cbadf429b0a
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Merge branch 'rails3_pairwise' into rails3_stable
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,6 +10,8 @@ class PairwisePlugin::QuestionsGroupListBlock < Block | ||
| 10 | 10 | ||
| 11 | settings_items :group_description, :type => String | 11 | settings_items :group_description, :type => String |
| 12 | 12 | ||
| 13 | + attr_accessible :group_description, :questions_ids, :random_sort | ||
| 14 | + | ||
| 13 | def content(args={}) | 15 | def content(args={}) |
| 14 | block = self | 16 | block = self |
| 15 | questions = questions.shuffle if(questions) | 17 | questions = questions.shuffle if(questions) |