lib/petit/app.rb
# 303 Redirects to a not_found_destination from the configuration, or
# returns 404 'Not Found' if not not_found_destination is specified
303 Redirects to a not_found_destination from the configuration, or
returns 404 'Not Found' if not not_found_destination is specified
303 Redirects to a not_found_destination from the configuration or returns 404 ' Not Found ' if not not_found_destination is specified
def redirect_to_not_found
      if Petit.configuration.not_found_destination
        redirect Petit.configuration.not_found_destination, 303
      else
        return_not_found
      end
    end
def redirect_to_not_found if Petit . configuration . not_found_destination redirect Petit . configuration . not_found_destination , 303 else return_not_found end end
303 Redirects to a not_found_destination from the configuration, or
returns 404 'Not Found' if not not_found_destination is specified
303 Redirects to a not_found_destination from the configuration or returns 404 ' Not Found ' if not not_found_destination is specified