diff options
author | Johan Sørensen <johan@johansorensen.com> | 2009-04-15 10:22:50 +0200 |
---|---|---|
committer | Johan Sørensen <johan@johansorensen.com> | 2009-04-22 15:18:27 +0200 |
commit | 05bc47eb80cd48b310ca3a70adb1ebc9959b6da6 (patch) | |
tree | 709df0340f7e9d853a793fd6a976d34b8066294c /app/views/blobs | |
parent | 4b2835f412eccf151c4693157d944858bec344d5 (diff) | |
download | gitorious-mainline-outdated-05bc47eb80cd48b310ca3a70adb1ebc9959b6da6.zip gitorious-mainline-outdated-05bc47eb80cd48b310ca3a70adb1ebc9959b6da6.tar.gz gitorious-mainline-outdated-05bc47eb80cd48b310ca3a70adb1ebc9959b6da6.tar.bz2 |
DRY up breadcrumb rendering a bit, the breadcrumbs_from(root) is now the method
all the views should use to render the breadcrumb list
Diffstat (limited to 'app/views/blobs')
-rw-r--r-- | app/views/blobs/show.html.erb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/blobs/show.html.erb b/app/views/blobs/show.html.erb index a0a797f..dc993e6 100644 --- a/app/views/blobs/show.html.erb +++ b/app/views/blobs/show.html.erb @@ -21,6 +21,7 @@ %> <% @page_title = t("views.blobs.page_title", :path => current_path.join("/"), :repo => @repository.name, :title => @project.title) -%> +<%= breadcrumbs_from(@root) -%> <% content_for :extra_head do -%> <%= stylesheet_link_tag("prettify/prettify.css") -%> @@ -35,10 +36,6 @@ </script> <% end -%> -<% content_for :submenu do -%> - <%= render :partial => "site/breadcrumbs", :locals => {:root => @root} -%> -<% end -%> - <% if false -%> <ul class="mode_selector"> <li class="list_header"> |