Refactor: Back all modals by controllers

This commit is contained in:
Robin Ward
2013-05-30 14:12:33 -04:00
parent e0dae88885
commit 0af0a214b2
74 changed files with 1555 additions and 1382 deletions
@@ -9,14 +9,6 @@
@module Discourse
**/
Discourse.ApplicationController = Discourse.Controller.extend({
needs: ['modal'],
showLogin: function() {
var modalController = this.get('controllers.modal');
if (modalController) {
modalController.show(Discourse.LoginView.create())
}
},
routeChanged: function(){
if (window._gaq === undefined) { return; }