lib/hanami/welcome.rb in hanami-0.7.0 vs lib/hanami/welcome.rb in hanami-0.7.1
- old
+ new
@@ -3,10 +3,10 @@
require 'hanami/environment'
require 'hanami/utils/string'
module Hanami
class Welcome
- def initialize(app)
+ def initialize(_app)
@root = Pathname.new(__dir__).join('templates').realpath
end
def call(env)
@request_path = env['REQUEST_PATH'] || ''