Sha256: 444ab7dabd67e1e555a74805c2d3e4af495d6f9ffaa333b24107c0c8b30b33dc

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

class HandlebarsController < ApplicationController

  def index
    @user = params[:user] || "Matt"
    # index.html.hbs
  end

  def with_partials
    @user = params[:user] || "Matt"
    @thing = "Grue"
  end

  def with_helpers
    @image = "image.png"
    @some_text = "lowercase"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stache-0.9.0 spec/dummy/app/controllers/handlebars_controller.rb