Skip to content

Commit

Permalink
Merge pull request #15259 from code-dot-org/stopWritingSolutionLevelS…
Browse files Browse the repository at this point in the history
…ourceId

Stop writing Level.solution_level_source_id to files.
  • Loading branch information
ashercodeorg committed May 23, 2017
2 parents 7495588 + 4953466 commit 303ad6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/app/models/levels/level.rb
Expand Up @@ -249,7 +249,7 @@ def self.pretty_print_xml(xml_string)
end

def filter_level_attributes(level_hash)
%w(name id updated_at type ideal_level_source_id md5).each {|field| level_hash.delete field}
%w(name id updated_at type solution_level_source_id ideal_level_source_id md5).each {|field| level_hash.delete field}
level_hash.reject! {|_, v| v.nil?}
level_hash
end
Expand Down

0 comments on commit 303ad6f

Please sign in to comment.