From 9fef69275dc87edd110211890b94cf69d9849407 Mon Sep 17 00:00:00 2001
From: billybonks <sebastienstettler@gmail.com>
Date: Sat, 2 Jul 2016 18:28:06 +0200
Subject: [PATCH] if model is already created its button should say update

squash! if model is new it button should say update
---
 app/patients/photo/controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/patients/photo/controller.js b/app/patients/photo/controller.js
index 8f0a47f41e..9ff824d5aa 100644
--- a/app/patients/photo/controller.js
+++ b/app/patients/photo/controller.js
@@ -16,7 +16,7 @@ export default Ember.Controller.extend({
     if (isNew) {
       return this.get('i18n').t('buttons.add');
     } else {
-      return this.get('i18n').t('buttons.add');
+      return this.get('i18n').t('buttons.update');
     }
   }.property('model.isNew'),