From 0b1679871f75b000a8ddf301f6211db19a7526e5 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 24 Jun 2013 19:23:39 +0800 Subject: [PATCH] desktop final fix --- app/controllers/desktop_controller.rb | 1 - app/views/desktop/index.html.erb | 2 +- config/mongoid.yml | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/controllers/desktop_controller.rb b/app/controllers/desktop_controller.rb index 984ad8814..990c05224 100644 --- a/app/controllers/desktop_controller.rb +++ b/app/controllers/desktop_controller.rb @@ -7,7 +7,6 @@ class DesktopController< ApplicationController def index @desktop = current_user.desktop @currentusername = current_user.name - debugger @title = "Desktop - " + @currentusername @section = @desktop.sections.first end diff --git a/app/views/desktop/index.html.erb b/app/views/desktop/index.html.erb index 25bcb679a..34938499c 100644 --- a/app/views/desktop/index.html.erb +++ b/app/views/desktop/index.html.erb @@ -70,7 +70,7 @@ -
+
diff --git a/config/mongoid.yml b/config/mongoid.yml index 2fa55a361..88e2fac44 100644 --- a/config/mongoid.yml +++ b/config/mongoid.yml @@ -9,6 +9,9 @@ defaults: &defaults development: <<: *defaults database: test_site + + + test: <<: *defaults database: test_site