Sha256: b4348443b6d2e5ae519f11f3b48be0bd8da12652d8dd784276d0b8a299c1c7dc
Contents?: true
Size: 467 Bytes
Versions: 11
Compression:
Stored size: 467 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
11 entries across 11 versions & 1 rubygems