[Logilogi-svn] SF.net SVN: logilogi: [267] trunk/app/views/prefs_profile/edit.rhtml
Status: Beta
Brought to you by:
wybow
From: <wy...@us...> - 2007-04-12 08:33:41
|
Revision: 267 http://logilogi.svn.sourceforge.net/logilogi/?rev=267&view=rev Author: wybow Date: 2007-04-12 01:33:40 -0700 (Thu, 12 Apr 2007) Log Message: ----------- Prefs_profile edit now only presents peergroups of which the user is a member. Modified Paths: -------------- trunk/app/views/prefs_profile/edit.rhtml Modified: trunk/app/views/prefs_profile/edit.rhtml =================================================================== --- trunk/app/views/prefs_profile/edit.rhtml 2007-04-12 08:26:23 UTC (rev 266) +++ trunk/app/views/prefs_profile/edit.rhtml 2007-04-12 08:33:40 UTC (rev 267) @@ -10,7 +10,7 @@ <td class="value"> <%= select_tag "prefs_profile[active_peer_group_id]", options_from_collection_for_select( - PeerGroup.find(:all), 'id', 'to_s', + @prefs_profile.user.peer_groups, 'id', 'to_s', @prefs_profile.active_peer_group.id) %> </td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |