Sha256: 66af83bba4fd9b30fe6691749d91123794b25da3d7d5e44d6ebf17b37865f49c

Contents?: true

Size: 280 Bytes

Versions: 1

Compression:

Stored size: 280 Bytes

Contents

# Define your named routes inside config/urls.rb
# You can also use unnamed routes by defining them directly

<%= @app_name %>::controllers do
  # get :index do
  #   session[:foo] = "bar"
  #   haml_template 'index'
  # end

  # get "/example" do
  #   "Hello world!"
  # end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
padrino-gen-0.1.2 lib/generators/templates/controller.rb.tt