Permalink
Browse files

Merge branch 'master' of github.com:fidothe/opendirtmap

  • Loading branch information...
blech committed Jun 20, 2010
2 parents 566073a + afff5a7 commit f124b218eeb22c3248be43c1e3533f5557095c8c
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/tags_controller.rb
@@ -7,7 +7,7 @@ def show
def update
tags = []
- tags << "soil:pH=%1f" % params[:ph] if params[:ph]
+ tags << "soil:pH=%1.2f" % params[:ph] if params[:ph]
tags << "soil:texture=#{URI.escape(params[:texture])}" if params[:texture]
tags << "soil:colour=#{URI.escape(params[:colour])}" if params[:colour]
flickr.photos.setTags :photo_id => params[:id], :tags => tags.join(" "), :auth => session[:flickr_auth_token]

0 comments on commit f124b21

Please sign in to comment.