lib/servel/home_app.rb in servel-0.11.0 vs lib/servel/home_app.rb in servel-0.12.0

- old
+ new

@@ -1,12 +1,12 @@ -class Servel::HomeApp - FAVICON_PATH = "/favicon.ico" - - def initialize(roots) - @roots = roots - end - - def call(env) - return [404, {}, []] if env["PATH_INFO"] == FAVICON_PATH - Servel::HamlContext.render('home.haml', { roots: @roots }) - end +class Servel::HomeApp + FAVICON_PATH = "/favicon.ico" + + def initialize(roots) + @roots = roots + end + + def call(env) + return [404, {}, []] if env["PATH_INFO"] == FAVICON_PATH + Servel::HamlContext.render('home.haml', { roots: @roots }) + end end \ No newline at end of file