diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 272c89f..c807bbe 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -6,7 +6,7 @@ module ApplicationHelper levels.delete_at(0) #links = "You are here: " - links = content_tag('a', "HOME", :href => "/") if include_home + links = content_tag('a', "HOME", :href => root_path ) if include_home nocrumb = ["collections", "albums", "photos", "tags", "new", "edit", "tags"] diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 9811fc0..1e6e669 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -20,18 +20,12 @@ <% end %>

- - <% if ENV['LOGO'] %> - <%= image_tag ENV['LOGO'] %> - <% else %> - <%= ENV['TITLE'] || "Photos" %> - <% end %> - -

- + <% end -%>
<%= breadcrumbs %>