From 5fd1602731be48a8d969c36d63f55dbd0e96555f Mon Sep 17 00:00:00 2001
From: Raphael <raphael@joindiaspora.com>
Date: Wed, 8 Sep 2010 10:00:31 -0700
Subject: [PATCH] Group batch edit is for all groups

---
 app/controllers/groups_controller.rb | 1 -
 app/views/groups/edit.html.haml      | 5 -----
 2 files changed, 6 deletions(-)

diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb
index f37812329b..34ae5960c6 100644
--- a/app/controllers/groups_controller.rb
+++ b/app/controllers/groups_controller.rb
@@ -34,7 +34,6 @@ class GroupsController < ApplicationController
 
   def edit
     @groups = current_user.groups
-    @group  = Group.find_by_id params[:id]
   end
 
   def update
diff --git a/app/views/groups/edit.html.haml b/app/views/groups/edit.html.haml
index b9a4d0afe1..3b69a93fa3 100644
--- a/app/views/groups/edit.html.haml
+++ b/app/views/groups/edit.html.haml
@@ -2,9 +2,6 @@
   = javascript_include_tag 'jquery-ui-1.8.4.custom.min.js'
   = javascript_include_tag 'group-edit.js'
 
-.back
-  = link_to "⇧ #{@group.name}", @group
-
 %h1{:class => 'big_text', :id => 'group_title'}
   = "Editing Groups"
 
@@ -30,5 +27,3 @@
   = link_to 'Update Groups', '#', :class => 'button', :id => "move_friends_link"
 
 #content_bottom
-  .back
-    = link_to "⇧ #{@group.name}", @group
-- 
GitLab