Skip to content

Commit

Permalink
default favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
Myles Byrne committed Feb 11, 2011
1 parent e286914 commit ea88b0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Binary file added favicon.ico
Binary file not shown.
5 changes: 5 additions & 0 deletions gitdoc.rb
Expand Up @@ -164,6 +164,11 @@ def compile_sass_tags source
send_file file
end

get '/favicon.ico' do
pass if File.exists? settings.dir + '/favicon.ico'
send_file settings.root + '/favicon.ico'
end

not_found do
version = File.read(File.dirname(__FILE__)+'/VERSION')
@doc = gd(
Expand Down

0 comments on commit ea88b0d

Please sign in to comment.