summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/account/SettingsView.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-24 20:18:57 -0500
committerJules Laplace <jules@okfoc.us>2015-11-24 20:18:57 -0500
commit144a3ecb4f610879c12dd10c31a7e310755e4781 (patch)
treee6b8566d06d138c20b9b3a6af06afe19da4c6e2d /StoneIsland/www/js/lib/account/SettingsView.js
parent5feeefffa62b131baff63e3241441727cf956fb6 (diff)
update profile
Diffstat (limited to 'StoneIsland/www/js/lib/account/SettingsView.js')
-rw-r--r--StoneIsland/www/js/lib/account/SettingsView.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/StoneIsland/www/js/lib/account/SettingsView.js b/StoneIsland/www/js/lib/account/SettingsView.js
index ba871543..81b8b5cc 100644
--- a/StoneIsland/www/js/lib/account/SettingsView.js
+++ b/StoneIsland/www/js/lib/account/SettingsView.js
@@ -12,6 +12,7 @@ var SettingsView = FormView.extend({
},
show: function(){
+ if (! auth.logged_in()) { return app.router.go("intro") }
app.footer.show("SAVE", "CANCEL")
document.body.className = "settings"
},