Permalink
Browse files

fix

  • Loading branch information...
1 parent bcfff5a commit 26b2a6661effa348221aea36577a7d1ec4c1d10a @rizen rizen committed Nov 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Wing/Web/Admin/User.pm
@@ -30,7 +30,7 @@ post '/admin/user' => sub {
get '/admin/user/:id' => sub {
my $current_user = get_admin_by_session_id();
- template 'admin/user', { current_user => describe($current_user, current_user => $current_user), page_title => 'Edit User', user => describe(fetch_object('User'), current_user => $current_user, include_options => 1)};
+ template 'admin/user', { current_user => describe($current_user, current_user => $current_user), page_title => 'Edit User', user => describe(fetch_object('User'), current_user => $current_user, include_related_objects => 1, include_options => 1, include_private => 1, i nclude_relationships => 1)};
};
post '/admin/user/:id' => sub {

0 comments on commit 26b2a66

Please sign in to comment.