diff --git a/app/index.html b/app/index.html index feaf4e8..b05703f 100644 --- a/app/index.html +++ b/app/index.html @@ -74,7 +74,6 @@ - diff --git a/app/scripts/app/controllers/application_controller.js b/app/scripts/app/controllers/application_controller.js index 6b19354..0b57ba3 100644 --- a/app/scripts/app/controllers/application_controller.js +++ b/app/scripts/app/controllers/application_controller.js @@ -15,6 +15,10 @@ ShareDrop.App.ApplicationController = Ember.Controller.extend({ this.handlePersonaAuth(); }, + currentURL: function () { + return window.location.href; + }.property('currentPath'), + actions: { signIn: function () { navigator.id.request(); diff --git a/app/scripts/app/templates/about_room.hbs b/app/scripts/app/templates/about_room.hbs index 248c33d..fb9571a 100644 --- a/app/scripts/app/templates/about_room.hbs +++ b/app/scripts/app/templates/about_room.hbs @@ -1,4 +1,4 @@ -{{#modal-dialog action="closeModal" currentURL=view.currentURL}} +{{#modal-dialog action="closeModal"}}
@@ -6,7 +6,7 @@
- {{input value=view.currentURL disabled="disabled"}} + {{input value=currentURL disabled="disabled"}}