Sha256: 7bc79206253ca679b33dc626dc6858effba20f30820443d43c9f70144adb70e3

Contents?: true

Size: 384 Bytes

Versions: 7

Compression:

Stored size: 384 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

  def with_wrapper

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

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