Sha256: e9e461b47c4509b8cec91f710a2013b91ad181e5d42f80334f872d95656ec76f
Contents?: true
Size: 375 Bytes
Versions: 3
Compression:
Stored size: 375 Bytes
Contents
# Define your named routes inside config/urls.rb or define them inline # 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 :sample, :map => "/sample/url" do # "Hello world!" # end # get "/example" do # "Hello world!" # end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
padrino-gen-0.2.0 | lib/generators/templates/controller.rb.tt |
padrino-gen-0.1.5 | lib/generators/templates/controller.rb.tt |
padrino-gen-0.1.4 | lib/generators/templates/controller.rb.tt |