add api_carto on back office and recapitulative page

This commit is contained in:
Xavier J 2015-11-19 16:47:56 +01:00
parent ce6af625d2
commit 61b126b0f9
8 changed files with 74 additions and 27 deletions

View file

@ -8,6 +8,7 @@ class Users::CarteController < UsersController
redirect_to url_for(root_path)
end
#TODO change name funtion
def save_ref_api_carto
dossier = current_user_dossier
dossier.update_attributes(json_latlngs: params[:json_latlngs])