include safe attributes module when using safe_attributes method

pull/6827/head
Martin Linkhorst 13 years ago
parent 426e372200
commit 7889c5c9b0
  1. 2
      lib/backlogs/patches/version_patch.rb

@ -7,6 +7,8 @@ module Backlogs::Patches::VersionPatch
has_many :version_settings, :dependent => :destroy
accepts_nested_attributes_for :version_settings
include Redmine::SafeAttributes
safe_attributes 'version_settings_attributes'
include InstanceMethods

Loading…
Cancel
Save