Skip to content

Instantly share code, notes, and snippets.

@jjcall
Created January 31, 2014 18:35
Show Gist options
  • Save jjcall/8739418 to your computer and use it in GitHub Desktop.
Save jjcall/8739418 to your computer and use it in GitHub Desktop.
-#- if can? :access, :workshops
-#%li.dropdown
-#%a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#"}
-#Workshops
-#%b.caret
-#%ul#workshops.dropdown-menu{"aria-labelledby" => "dLabel", :role => "menu"}
-#%li= link_to "New", new_workshop_path
-#%li= link_to "List", workshops_path
-#- if can? :access, :organizations
-#%li.dropdown
-#%a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#"}
-#Organizations
-#%b.caret
-#%ul.dropdown-menu{"aria-labelledby" => "dLabel", :role => "menu"}
-#%li= link_to "New", new_organization_path
-#%li= link_to "List", organizations_path
-#- if can? :access, :cities
-#%li.dropdown
-#%a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#"}
-#Cities
-#%b.caret
-#%ul.dropdown-menu{"aria-labelledby" => "dLabel", :role => "menu"}
-#%li= link_to "List Cities", cities_path
-#%li= link_to "New City", new_city_path
-#- if can? :access, :tiers
-#%li= link_to "New Tier", new_tier_path
-#- if can? :access, :users
-#%li.dropdown
-#%a.dropdown-toggle{"data-toggle" => "dropdown", :href => "#"}
-#Users
-#%b.caret
-#%ul.dropdown-menu{"aria-labelledby" => "dLabel", :role => "menu"}
-#%li= link_to "New User", new_user_path
-#%li= link_to "List Users", users_path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment