Sha256: f2adb8616b7972e39fabff8fbb886e972801621d22d58875174be5af8956ee92
Contents?: true
Size: 218 Bytes
Versions: 13
Compression:
Stored size: 218 Bytes
Contents
class OrdersController < ApplicationController def index @orders = Order.all end def new @order = Order.new end def show Order.create name: "hugo" @order = Order.find(params[:id]) end end
Version data entries
13 entries across 13 versions & 2 rubygems