Skip to content

Commit 05d52a3

Browse files
sanakdkastl
authored andcommitted
Fix geojson value type inconsistency
1 parent 01732c8 commit 05d52a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/projects/show.api.rsb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ api.project do
99
api.is_public @project.is_public?
1010

1111
if @project.geom
12-
api.geojson @project.geojson
12+
api.geojson @project.geojson.to_json
1313
else
1414
api.geojson ""
1515
end

0 commit comments

Comments
 (0)