Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
tylergannon committed Mar 4, 2013
2 parents 11f09c1 + 1ff8c71 commit 65138a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/models/chart_palace_list.rb
Expand Up @@ -4,14 +4,14 @@ def self.build_with_ming(chart, ming_branch)
location = ming_branch

(1..12).each do |i|
arr << ChartPalace.new(palace: Palace.send("_#{i}"), location: location)
arr << ChartPalace.new(palace: Palace.send("_#{i}"), location: location, chart: chart)
location = location.previous
end
arr = ChartPalaceList.new(arr)

Star.all.each do |star|
arr.by_location(chart.send(star.symbol_name)).stars << star
end
# Star.all.each do |star|
# arr.by_location(chart.send(star.symbol_name)).stars << star
# end
arr
end

Expand Down

0 comments on commit 65138a2

Please sign in to comment.