Go to...

Go to project...

    <% current_user.projects.active.each do |project| -%> <%= content_tag(:li){ link_to project.name, project_path(project)} %> <% end -%>
  • <%= link_to "All projects", projects_path %>

Go to context...

    <% current_user.contexts.active.each do |context| -%> <%= content_tag(:li){ link_to context.name, context_path(context)} %> <% end -%>
  • <%= link_to "All contexts", contexts_path %>