Sha256: dfa06d3594725f4ca4326b572f068f64ab0a47b768782cbed1e2174ec8324b93
Contents?: true
Size: 368 Bytes
Versions: 1
Compression:
Stored size: 368 Bytes
Contents
# GET /<%= plural_name %> <%- if xml? -%> # GET /<%= plural_name %>.xml <%- end -%> def index @<%= plural_name %> = <%= class_name %>.paginate(:page => params[:page]) <%- if xml? -%> respond_to do |format| format.html # index.html.<%= view_language %> format.xml { render :xml => @<%= plural_name %> } end <%- end -%> end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iain-pizza-generators-0.1.4 | rails_generators/pizza_scaffold/templates/actions/index.rb |