spec/dummy/app/controllers/stache_controller.rb in stache-0.9.1 vs spec/dummy/app/controllers/stache_controller.rb in stache-1.0.0.rc

- old
+ new

@@ -1,10 +1,9 @@ class StacheController < ApplicationController + layout false def index - @user = params[:user] || "Matt" - # index.html.mustache end def with_partials @user = params[:user] || "Matt" @thing = "Grue" @@ -13,6 +12,14 @@ def with_asset_helpers require 'with_asset_helpers' # with_asset_helpers.html.mustache end -end \ No newline at end of file + def with_layout + + end + + def helper + Stache::ViewContext.current = self.view_context + end + +end