aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/layouts/_favicon.html.erb1
-rw-r--r--app/views/layouts/default.html.erb2
2 files changed, 2 insertions, 1 deletions
diff --git a/app/views/layouts/_favicon.html.erb b/app/views/layouts/_favicon.html.erb
new file mode 100644
index 000000000..4f3859d6c
--- /dev/null
+++ b/app/views/layouts/_favicon.html.erb
@@ -0,0 +1 @@
+<link rel="shortcut icon" href="/favicon.ico">
diff --git a/app/views/layouts/default.html.erb b/app/views/layouts/default.html.erb
index 472fa8ec1..5895becf7 100644
--- a/app/views/layouts/default.html.erb
+++ b/app/views/layouts/default.html.erb
@@ -10,7 +10,7 @@
<% end %>
</title>
- <link rel="shortcut icon" href="/favicon.ico">
+ <%= render :partial => 'layouts/favicon' %>
<%= render :partial => 'general/stylesheet_includes' %>
<% if is_admin? %>