From 6d89eab98af28d8cc30bc76bb660a44327ad5b23 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 984ad881..990c0522 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 25bcb679..34938499 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 2fa55a36..88e2fac4 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