Commit 41def7d00264068bdf4f1a501a73ef0d9e551381

Authored by Nick Recobra
2 parents f297f622 f135e748
Exists in master and in 1 other branch production

Merge pull request #33 from openteam/favicon

favico for Errbit
app/views/layouts/application.html.haml
1 !!! html 1 !!! html
2 %html 2 %html
3 %head 3 %head
4 - %title 4 + %title
5 Errbit — 5 Errbit —
6 = yield(:page_title).present? ? yield(:page_title) : yield(:title) 6 = yield(:page_title).present? ? yield(:page_title) : yield(:title)
7 %meta{ :content => "text/html; charset=utf-8", "http-equiv" => "content-type" }/ 7 %meta{ :content => "text/html; charset=utf-8", "http-equiv" => "content-type" }/
  8 + = favicon_link_tag
8 = csrf_meta_tag 9 = csrf_meta_tag
9 = javascript_include_tag :defaults 10 = javascript_include_tag :defaults
10 = stylesheet_link_tag 'reset', 'application' 11 = stylesheet_link_tag 'reset', 'application'
@@ -14,9 +15,9 @@ @@ -14,9 +15,9 @@
14 %div 15 %div
15 = link_to 'Errbit', root_path, :id => 'site-name' 16 = link_to 'Errbit', root_path, :id => 'site-name'
16 = render 'shared/session' 17 = render 'shared/session'
17 - 18 +
18 = render 'shared/navigation' if current_user 19 = render 'shared/navigation' if current_user
19 - 20 +
20 #content-wrapper 21 #content-wrapper
21 #content-title 22 #content-title
22 %h1= yield :title 23 %h1= yield :title
@@ -24,8 +25,8 @@ @@ -24,8 +25,8 @@
24 - if (action_bar = yield(:action_bar)).present? 25 - if (action_bar = yield(:action_bar)).present?
25 #action-bar 26 #action-bar
26 = action_bar 27 = action_bar
27 - #content 28 + #content
28 = render :partial => 'shared/flash_messages' 29 = render :partial => 'shared/flash_messages'
29 = yield 30 = yield
30 #footer= "Powered by #{link_to 'Errbit', 'http://github.com/jdpace/errbit', :target => '_blank'}: the open source error catcher.".html_safe 31 #footer= "Powered by #{link_to 'Errbit', 'http://github.com/jdpace/errbit', :target => '_blank'}: the open source error catcher.".html_safe
31 - = yield :scripts  
32 \ No newline at end of file 32 \ No newline at end of file
  33 + = yield :scripts
public/favicon.ico
No preview for this file type