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,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) |