spec/dummy/app/controllers/stache_controller.rb in stache-0.2.2 vs spec/dummy/app/controllers/stache_controller.rb in stache-0.9.0
- old
+ new
@@ -1,13 +1,18 @@
class StacheController < ApplicationController
-
+
def index
@user = params[:user] || "Matt"
# index.html.mustache
end
-
+
def with_partials
@user = params[:user] || "Matt"
@thing = "Grue"
end
-
+
+ def with_asset_helpers
+ require 'with_asset_helpers'
+ # with_asset_helpers.html.mustache
+ end
+
end
\ No newline at end of file