diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb new file mode 100644 index 0000000..cb67cff --- /dev/null +++ b/app/controllers/errors_controller.rb @@ -0,0 +1,7 @@ +# frozen_string_literal: true + +class ErrorsController < ApplicationController + def not_found + render '/errors/not_found', status: 404 + end +end diff --git a/app/views/errors/not_found.html.erb b/app/views/errors/not_found.html.erb new file mode 100644 index 0000000..942788e --- /dev/null +++ b/app/views/errors/not_found.html.erb @@ -0,0 +1,30 @@ +
Looks like something went wrong...
+The link you have may be incorrect, or the page you're looking for may + have been removed or renamed.
+