Sha256: 339397db85edb41967ef8799da27b8ca796ef2883ef2a61b0bd99d814cffca96

Contents?: true

Size: 214 Bytes

Versions: 1

Compression:

Stored size: 214 Bytes

Contents

MyApp.controllers do
  get "/" do
    # render "index.str" at app/views/index.str
    render :str, :index
  end

  get "/hi/:name" do
    # `hi` is helper at app/helpers.rb
    hi(params[:name] || "joe")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hisyo-0.1.0 data/generators/project/app/controllers.rb