Sha256: a5220eea7850c59dcd435aad0c76c3e76db9fb958852b5c90bb0bb6747f1a66a
Contents?: true
Size: 604 Bytes
Versions: 4
Compression:
Stored size: 604 Bytes
Contents
<%= @app_name %>.controllers <%= ":#{@pluralized}" if @pluralized %> do get :index do render "<%= @pluralized if @pluralized %>/index" end get :show, :with => :id do render "<%= @pluralized if @pluralized %>/show" end <% if @create_full -%> get :new do render "<%= @pluralized if @pluralized %>/new" end post :create do "This is the create action" end get :edit, :with => :id do render "<%= @pluralized if @pluralized %>/edit" end put :update, :with => :id do "This is the update action" end delete :destroy, :with => :id do end <% end -%> end
Version data entries
4 entries across 4 versions & 1 rubygems