Permalink
Browse files

taking out the complete fallback url

  • Loading branch information...
1 parent d3a0c69 commit e7633ea50218e918099c4b1b45a910bf2739e009 erik committed Jul 9, 2012
Showing with 2 additions and 295 deletions.
  1. +1 −1 config/environments/staging.rb
  2. +1 −1 config/routes.rb
  3. +0 −130 public/404.html
  4. +0 −30 public/422.html
  5. +0 −133 public/500.html
@@ -1,4 +1,4 @@
-config.action_controller.consider_all_requests_local = true
+config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching = true
config.action_mailer.raise_delivery_errors = false
config.action_view.debug_rjs = true
View
@@ -172,6 +172,6 @@
map.connect '/api/news_items/entities', :controller => "api/news_items", :action => "entities"
map.connect '/api/news_items/kml.:format', :controller => "api/news_items", :action => "kml"
- map.connect '*path', :controller => 'homes', :action => 'show'
+ #map.connect '*path', :controller => 'homes', :action => 'show'
end
View
@@ -1,130 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
- <head>
- <meta content='Keywords' name='keywords' />
- <meta content='Description' name='description' />
- <meta content='text/html; charset=utf-8' http-equiv='Content-type' />
- <title>
- Spot.us
- </title>
- <!--[if IE 6]>
- <link href="/stylesheets/ie_spotus.css" media="screen" rel="stylesheet" type="text/css" />
- <![endif]-->
- <link href="/stylesheets/screen.css" media="screen" rel="stylesheet" type="text/css" />
-
- <link href="/stylesheets/screen_spotus.css"
- media="screen" rel="stylesheet" type="text/css" />
- <link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" />
- <link href="/stylesheets/ie.css" media="screen" rel="stylesheet" type="text/css" />
- <script src="/javascripts/ckeditor/ckeditor.js" type="text/javascript"></script>
- <script src="/javascripts/jquery.js" type="text/javascript"></script>
- <script>
- jQuery.noConflict();
- </script>
- <script src="/javascripts/jquery-ui.js" type="text/javascript"></script>
-
- <script src="/javascripts/jrails.js" type="text/javascript"></script>
- <script src="/javascripts/jquery.pngFix.js" type="text/javascript"></script>
- <script src="/javascripts/jquery.equalHeights.js" type="text/javascript"></script>
- <script src="/javascripts/prototype.js" type="text/javascript"></script>
- <!-- = javascript_include_tag 'scriptaculous' -->
- <script src="/javascripts/effects.js" type="text/javascript"></script>
-
- <script src="/javascripts/jsProgressBarHandler.js" type="text/javascript"></script>
- <script src="/javascripts/jquery.livequery.js" type="text/javascript"></script>
-
- <script src="/javascripts/application.js" type="text/javascript"></script>
- <link href="/stylesheets/ibox/ibox.css" media="screen" rel="stylesheet" type="text/css" />
- <script src="/javascripts/ibox/ibox.js" type="text/javascript"></script>
- </head>
- <body class='404'>
-
- <div id='user-header'>
- <ul class='user-header-nav'>
- <li>
- <a href="/session/new">Register</a>
- </li>
- <li class='no-pipe'>
- <a href="/session/new">Login</a>
- </li>
-
- </ul>
- <div class='slogan'>
- <span class='pink'>Community</span>
- <span class='moss-green'>Funded Reporting</span>
- </div>
- <div class='clear'></div>
- </div>
- <div class='body-content'>
-
- <div class='container'>
- <div id='header'>
- <div class='logo'>
- <p>
- <a href="/" class="logo-link" title="Spot.us - Community Funded Reporting"><span class='hide'>Spot.us - Community Funded Reporting</span></a>
- </p>
- </div>
- <div class='nav-container'>
-
- <ul id='main-nav'>
- <li class='start_story'><a href="/tips/new">Start a Story</a></li>
- <li class='fund_story'><a href="/news_items">Browse</a></li>
- <li class='read_story'><a href="/news_items">Read a Story</a></li>
- <li class='about_spotus'><a href="/pages/about">About</a></li>
- </ul>
- </div>
-
- <div class='clear'></div>
- </div>
- <div class='block-spacer'></div>
- <div class='box_white'>
- <h2>The page you have requested cannot be found.</h2>
- <p>The web page you were attempting to view may not exist, may have moved OR may have been TAKENN.. ONN NOEESS - try checking the web address for typos.</p>
- <p>The <a href="/news_items">Spot.Us browse</a> page might help you find what you're looking for.</p>
- <div class='double_content_border'></div>
- <img src="../images/kitty_missing.jpg">
-
- </div>
-
- <div class='block-spacer'></div>
- <div class='clear'></div>
- </div>
- </div>
- <div id='footer'>
-
- <div id='footer-copyright'>
- <div class='double_footer_border'></div>
- <div class='logo-footer'><a href="/" class="logo-footer-link" title="Spot.us - Community Funded Reporting"><span class='hide'>Spot.us - Community Funded Reporting</span></a></div>
- <ul class='footer-nav'>
- <li><a href="/pages/about">About</a></li>
- <li><a href="http://blog.spot.us">Blog</a></li>
-
- <li><a href="/pages/press">Press</a></li>
- <li><a href="/pages/contact">Contact</a></li>
- <li class='no-pipe'><a href="/pages/terms">Terms & Conditions</a></li>
- and
- <li class='no-pipe'><a href="/pages/privacy">Privacy Policy</a></li>
- </ul>
- <p>Copyright &copy; 2008 Spot.us</p>
-
- <div class='partners'>
- <div class='engine_yard'>
- <span class='small'>
- <a href="http://www.engineyard.com">Engine Yard Hosting.</a>
- </span>
- </div>
- <div class='hashrocket'>
- <span class='small'>
-
- <a href="http://www.hashrocket.com">Hashrocket 3-2-1 Launch.</a>
- </span>
- </div>
- </div>
- <div class='clear'></div>
- </div>
- </div>
-
- </body>
-
-</html>
-
View
@@ -1,30 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-
-<head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>The change you wanted was rejected (422)</title>
- <style type="text/css">
- body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
- div.dialog {
- width: 25em;
- padding: 0 4em;
- margin: 4em auto 0 auto;
- border: 1px solid #ccc;
- border-right-color: #999;
- border-bottom-color: #999;
- }
- h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
- </style>
-</head>
-
-<body>
- <!-- This file lives in public/422.html -->
- <div class="dialog">
- <h1>The change you wanted was rejected.</h1>
- <p>Maybe you tried to change something you didn't have access to.</p>
- </div>
-</body>
-</html>
View
@@ -1,133 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
- <head>
- <meta content='Keywords' name='keywords' />
- <meta content='Description' name='description' />
- <meta content='text/html; charset=utf-8' http-equiv='Content-type' />
- <title>
- Spot.us
- </title>
- <!--[if IE 6]>
- <link href="/stylesheets/ie_spotus.css" media="screen" rel="stylesheet" type="text/css" />
- <![endif]-->
- <link href="/stylesheets/screen.css" media="screen" rel="stylesheet" type="text/css" />
-
- <link href="/stylesheets/screen_spotus.css"
- media="screen" rel="stylesheet" type="text/css" />
- <link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" />
- <link href="/stylesheets/ie.css" media="screen" rel="stylesheet" type="text/css" />
- <script src="/javascripts/ckeditor/ckeditor.js" type="text/javascript"></script>
- <script src="/javascripts/jquery.js" type="text/javascript"></script>
- <script>
- jQuery.noConflict();
- </script>
- <script src="/javascripts/jquery-ui.js" type="text/javascript"></script>
-
- <script src="/javascripts/jrails.js" type="text/javascript"></script>
- <script src="/javascripts/jquery.pngFix.js" type="text/javascript"></script>
- <script src="/javascripts/jquery.equalHeights.js" type="text/javascript"></script>
- <script src="/javascripts/prototype.js" type="text/javascript"></script>
- <!-- = javascript_include_tag 'scriptaculous' -->
- <script src="/javascripts/effects.js" type="text/javascript"></script>
-
- <script src="/javascripts/jsProgressBarHandler.js" type="text/javascript"></script>
- <script src="/javascripts/jquery.livequery.js" type="text/javascript"></script>
-
- <script src="/javascripts/application.js" type="text/javascript"></script>
- <link href="/stylesheets/ibox/ibox.css" media="screen" rel="stylesheet" type="text/css" />
- <script src="/javascripts/ibox/ibox.js" type="text/javascript"></script>
- </head>
- <body class='404'>
-
- <div id='user-header'>
- <ul class='user-header-nav'>
- <li>
- <a href="/session/new">Register</a>
- </li>
- <li class='no-pipe'>
- <a href="/session/new">Login</a>
- </li>
-
- </ul>
- <div class='slogan'>
- <span class='pink'>Community</span>
- <span class='moss-green'>Funded Reporting</span>
- </div>
- <div class='clear'></div>
- </div>
- <div class='body-content'>
-
- <div class='container'>
- <div id='header'>
- <div class='logo'>
- <p>
- <a href="/" class="logo-link" title="Spot.us - Community Funded Reporting"><span class='hide'>Spot.us - Community Funded Reporting</span></a>
- </p>
- </div>
- <div class='nav-container'>
-
- <ul id='main-nav'>
- <li class='start_story'><a href="/tips/new">Start a Story</a></li>
- <li class='fund_story'><a href="/news_items">Browse</a></li>
- <li class='read_story'><a href="/news_items">Read a Story</a></li>
- <li class='about_spotus'><a href="/pages/about">About</a></li>
- </ul>
- </div>
-
- <div class='clear'></div>
- </div>
- <div class='block-spacer'></div>
- <div class='box_white'>
- <h2>We're sorry, but something went wrong.</h2>
- <div class='double_content_border'></div>
- <p>
- <img src="../images/david_500.jpg">
- <br/>
- <br/>
- <br/>
- We've been notified about this issue and we'll take a look at it shortly.
- </p>
- <div class='clear'></div>
- </div>
-
- <div class='block-spacer'></div>
- <div class='clear'></div>
- </div>
- </div>
- <div id='footer'>
-
- <div id='footer-copyright'>
- <div class='double_footer_border'></div>
- <div class='logo-footer'><a href="/" class="logo-footer-link" title="Spot.us - Community Funded Reporting"><span class='hide'>Spot.us - Community Funded Reporting</span></a></div>
- <ul class='footer-nav'>
- <li><a href="/pages/about">About</a></li>
- <li><a href="http://blog.spot.us">Blog</a></li>
-
- <li><a href="/pages/press">Press</a></li>
- <li><a href="/pages/contact">Contact</a></li>
- <li class='no-pipe'><a href="/pages/terms">Terms & Conditions</a></li>
- and
- <li class='no-pipe'><a href="/pages/privacy">Privacy Policy</a></li>
- </ul>
- <p>Copyright &copy; 2008 Spot.us</p>
-
- <div class='partners'>
- <div class='engine_yard'>
- <span class='small'>
- <a href="http://www.engineyad.com">Engine Yard Hosting.</a>
- </span>
- </div>
- <div class='hashrocket'>
- <span class='small'>
-
- <a href="http://www.hashrocket.com">Hashrocket 3-2-1 Launch.</a>
- </span>
- </div>
- </div>
- <div class='clear'></div>
- </div>
- </div>
-
- </body>
-
-</html>

0 comments on commit e7633ea

Please sign in to comment.