DG IZ setting group id to nil and changing the deploy script for renaming of the repo

This commit is contained in:
ilya 2010-08-18 16:27:08 -07:00
parent d0b2a23fcb
commit 5de9362933

View file

@ -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