Commit b3c5425977657230d3c7810cb3875110a7279acb
1 parent
180142e9
Exists in
master
and in
27 other branches
relevant_content: fix mass assignment on edition
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
plugins/relevant_content/lib/relevant_content_plugin/relevant_content_block.rb
| ... | ... | @@ -18,6 +18,8 @@ class RelevantContentPlugin::RelevantContentBlock < Block |
| 18 | 18 | settings_items :show_most_disliked, :type => :boolean, :default => 0 |
| 19 | 19 | settings_items :show_most_voted, :type => :boolean, :default => 1 |
| 20 | 20 | |
| 21 | + attr_accessible :limit, :show_most_voted, :show_most_disliked, :show_most_liked, :show_most_commented, :show_most_read | |
| 22 | + | |
| 21 | 23 | include ActionView::Helpers |
| 22 | 24 | include Rails.application.routes.url_helpers |
| 23 | 25 | ... | ... |