Skip to content

Commit

Permalink
Updated example in the README to show NOT_FOUND support
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Sobol committed Jun 24, 2010
1 parent 97cd73d commit cfeb8dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Expand Up @@ -37,6 +37,11 @@ Add comments to your routes (well, that's optional):
get "/settings" do
haml :settings, {}, :settings => settings(current_user)
end
# Error 404 Page Not Found
not_found do
haml :'404'
end

end

Expand Down

0 comments on commit cfeb8dc

Please sign in to comment.