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

Version Path
stache-1.2.0 spec/dummy/app/controllers/stache_controller.rb
stache-1.1.1 spec/dummy/app/controllers/stache_controller.rb
stache-1.1.0 spec/dummy/app/controllers/stache_controller.rb
stache-1.0.3 spec/dummy/app/controllers/stache_controller.rb
stache-1.0.2 spec/dummy/app/controllers/stache_controller.rb
stache-1.0.1 spec/dummy/app/controllers/stache_controller.rb