search for: groups_man

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

Did you mean: groups_max
2006 May 29
0
using components to reuse code
...(@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[:group_id]) @account = @group.accounts.find(:all) render :partial => ''group_list'...