Still a work in progress

This commit is contained in:
Jason Denney
2012-12-26 21:21:58 -05:00
parent 985451f959
commit 4ebcbca081
11 changed files with 160 additions and 10 deletions
+1
View File
@@ -2,6 +2,7 @@ class UserProfiles < Netzke::Basepack::Grid
def configure(c)
super
c.model = "UserProfile"
c.title = "User Profiles"
c.data_store = {auto_load: false}
c.scope = lambda { |rel| puts session.inspect; rel.where(:user_id => session[:selected_user_id]);}
c.columns = [