diff --git a/app/middleware/add_exclamation.rb b/app/middleware/add_exclamation.rb deleted file mode 100644 index 60b163b..0000000 --- a/app/middleware/add_exclamation.rb +++ /dev/null @@ -1,10 +0,0 @@ -class AddExclamation - def initialize(app) - @app = app - end - - def call(env) - status, headers, response = @app.call(env) - [status, headers, "#{response}!"] - end -end \ No newline at end of file diff --git a/app/yose.rb b/app/yose.rb index bf10618..844db79 100644 --- a/app/yose.rb +++ b/app/yose.rb @@ -1,6 +1,5 @@ require './app/controller/home' require './app/controller/ping' -require './app/middleware/add_exclamation' class Yose def initialize