Merge pull request #3150 from consul/backport-1769-crud_budget_and_usa
[Backport] new CRUD budgets, content blocks and heading map
This commit is contained in:
@@ -22,7 +22,7 @@ class MapLocation < ActiveRecord::Base
|
||||
map = new
|
||||
map.zoom = Budget::Heading::OSM_DISTRICT_LEVEL_ZOOM
|
||||
map.latitude = heading.latitude.to_f if heading.latitude.present?
|
||||
map.longitude = heading.longitude.to_f if heading.latitude.present?
|
||||
map.longitude = heading.longitude.to_f if heading.longitude.present?
|
||||
map
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user