Browse files

close #15 update readme

clarify this is just example code
  • Loading branch information...
schneems committed Jun 28, 2012
1 parent f8829b8 commit 5c0c0bc0756ef7d21f66a7bfcb32c9112917f56e
Showing with 4 additions and 3 deletions.
  1. +4 −3
@@ -30,16 +30,17 @@ end
Then run `bundle install` and you're ready to start
-### Optional for user of catch-all route in routes.rb:
+### Optional for users of catch-all routes
-Add sextant to your routes (config/routes.rb) before catch-all routes
+If (and only if) you have catch all routes like `match '*not_found' => 'errors#handle404'
+` in your app already, you can add sextant to your routes (config/routes.rb) before the catch-all routes like this.
mount_sextant if Rails.env.development?
match '*not_found' => 'errors#handle404'
-match "*path" => 'errors#handle404'
## Use
Visit `/rails/routes` in your app and you'll see your routes. It's that simple.

0 comments on commit 5c0c0bc

Please sign in to comment.