diff --git a/app.rb b/app.rb index 0d62a4a..e1dfc8e 100644 --- a/app.rb +++ b/app.rb @@ -65,3 +65,7 @@ end get '/aliens' do haml :aliens end + +not_found do + haml :not_found +end \ No newline at end of file diff --git a/views/not_found.haml b/views/not_found.haml new file mode 100644 index 0000000..d13fdff --- /dev/null +++ b/views/not_found.haml @@ -0,0 +1,7 @@ +.grid_9 + %h1 Not Found + + %p Oops, we can't find that page. + + %p + %a{ :href => '/' }Go back to the home page \ No newline at end of file