Sha256: 3307ab504b46cff7d67b527bc7466306ff17ad954e65ed8209896a05cc4a0d1d
Contents?: true
Size: 485 Bytes
Versions: 6
Compression:
Stored size: 485 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 with_wrapper end def helper Stache::ViewContext.current = self.view_context end def no_format_in_extension end def no_format_in_extension_with_wrapper end end
Version data entries
6 entries across 6 versions & 1 rubygems