Skip to content

Instantly share code, notes, and snippets.

@accuser
Created August 13, 2010 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save accuser/522924 to your computer and use it in GitHub Desktop.
Save accuser/522924 to your computer and use it in GitHub Desktop.
/ app/views/errors/not_found.html.haml
%h1 The page you were looking for doesn't exist.
%p
You may have mistyped the address or the page may have moved.
%script{ :type => 'text/javascript' }
var GOOG_FIXURL_LANG = '#{I18n.locale}';
var GOOG_FIXURL_SITE = '#{request.protocol}#{request.host}';
%script{ :type => 'text/javascript', :src => 'http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js' }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment