Sha256: 3320472cbbb897a52fd3fc2abba6e583413a91b335ff95df1f204c8989f248cd
Contents?: true
Size: 357 Bytes
Versions: 2
Compression:
Stored size: 357 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 def with_missing_data #with_missing_data.html.hbs end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stache-1.0.0.rc | spec/dummy/app/controllers/handlebars_controller.rb |
stache-0.9.1 | spec/dummy/app/controllers/handlebars_controller.rb |