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