search for: join_group

Displaying 1 result from an estimated 1 matches for "join_group".

Did you mean: doingroup
2006 May 29
0
using components to reuse code
...ationController uses_component_template_root def add_to_group @account = Account.find_by_nick(@params[:nick]) # render :text => "#{session[:account_id]} #{Group.find(session[:group_id]).owner_id}" if (session[:account_id] == Group.find(session[:group_id]).owner_id) Account.join_group(@account.id, session[:group_id]) # render_component (:controller => ''test/groups_man'', :action => ''group_list'') group_list else render :partial => ''group_error'' end end def group_list @group = Group.find(session[:grou...