lib/servel/home_app.rb in servel-0.8.0 vs lib/servel/home_app.rb in servel-0.9.0
- old
+ new
@@ -1,12 +1,12 @@
-class Servel::HomeApp
- def initialize(roots)
- @roots = roots
- end
-
- def call(env)
- @haml_context ||= Servel::HamlContext.new
- body = @haml_context.render('home.haml', { roots: @roots })
-
- [200, {}, [body]]
- end
+class Servel::HomeApp
+ def initialize(roots)
+ @roots = roots
+ end
+
+ def call(env)
+ @haml_context ||= Servel::HamlContext.new
+ body = @haml_context.render('home.haml', { roots: @roots })
+
+ [200, {}, [body]]
+ end
end
\ No newline at end of file