app/controllers/IndexController.rb in spire-0.1.2 vs app/controllers/IndexController.rb in spire-0.1.3
- old
+ new
@@ -1,6 +1,5 @@
class Index < Spire::MainController
def index
- content = "test1"
- render("index", content)
+ Spire::Response.new(render("index", "haml", ["Index Page", "This is the index page!"]))
end
end