Skip to content

Instantly share code, notes, and snippets.

@brentd
Created September 15, 2008 21:04
Show Gist options
  • Save brentd/10943 to your computer and use it in GitHub Desktop.
Save brentd/10943 to your computer and use it in GitHub Desktop.
-if has_permission?("people")
%h2 People
=render :partial => 'people/list'
-if has_permission?("organizations")
%h2 Organizations
=render :partial => 'organizations/list'
-if has_permission?("projects")
%h2 Projects
=render :partial => 'projects/list'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment