From 5de9362933a1694a7e11959dc00950e1acd37858 Mon Sep 17 00:00:00 2001 From: ilya Date: Wed, 18 Aug 2010 16:27:08 -0700 Subject: [PATCH] DG IZ setting group id to nil and changing the deploy script for renaming of the repo --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 291246750..5d91f1206 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -19,7 +19,7 @@ class ApplicationController < ActionController::Base if current_user @groups = current_user.groups @friends = current_user.friends - @group = params[:group] ? current_user.group_by_id(params[:group]) : current_user.groups.first + @group = params[:group] ? current_user.group_by_id(params[:group]) : nil end end