Sha256: 72b787a468516a133e553497515bd28c2063a47a8865054e76c111b0235df093
Contents?: true
Size: 371 Bytes
Versions: 1
Compression:
Stored size: 371 Bytes
Contents
class StacheController < ApplicationController layout false def index 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 def with_layout end def helper Stache::ViewContext.current = self.view_context end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stache-1.0.0.rc | spec/dummy/app/controllers/stache_controller.rb |