Created
April 17, 2012 13:33
-
-
Save jbrunton/2405992 to your computer and use it in GitHub Desktop.
view_user action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
view_user: function(user_id) { | |
app.tmpl.renderPage('view-user-tmpl', | |
new User().load(user_id, { | |
extensions: { | |
urlExtender: { edit: true } | |
}, | |
includes: { | |
blogs: true, | |
recent_posts: { | |
includes: { tags: true } | |
} | |
} | |
}) | |
); | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment