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

Version Path
formie-1.1.4 test/internal/app/controllers/orders_controller.rb
act_with_flags-3.1.9 test/internal/app/controllers/orders_controller.rb
act_with_flags-3.1.6 test/internal/app/controllers/orders_controller.rb
formie-1.1.3 test/internal/app/controllers/orders_controller.rb
act_with_flags-3.1.5 test/internal/app/controllers/orders_controller.rb
formie-1.1.2 test/internal/app/controllers/orders_controller.rb
act_with_flags-3.1.3 test/internal/app/controllers/orders_controller.rb
formie-1.1.1 test/internal/app/controllers/orders_controller.rb
formie-1.1.0 test/internal/app/controllers/orders_controller.rb
act_with_flags-3.1.2 test/internal/app/controllers/orders_controller.rb
act_with_flags-3.1.1 test/internal/app/controllers/orders_controller.rb
act_with_flags-3.1.0 test/internal/app/controllers/orders_controller.rb
act_with_flags-3.0.1 test/internal/app/controllers/orders_controller.rb