mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-27 21:21:37 -04:00
Still a work in progress
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user