Sha256: cfeb5cbd45363976680d11ac8ed10cd8adc38197d9b511797bbe20282a08747d
Contents?: true
Size: 466 Bytes
Versions: 21
Compression:
Stored size: 466 Bytes
Contents
<%= @app_name %>.controllers <%= ":#{@controller}" if @controller %> do # get :index, :map => "/foo/bar" do # session[:foo] = "bar" # render 'index' # end # get :sample, :map => "/sample/url", :provides => [:any, :js] do # case content_type # when :js then ... # else ... # end # get :foo, :with => :id do # "Maps to url '/foo/#{params[:id]}'" # end # get "/example" do # "Hello world!" # end <%= @actions %> end
Version data entries
21 entries across 21 versions & 1 rubygems