old transgression code

master
Matt Huntington 10 years ago
parent ba3b16cc2d
commit 2ce865faa5

@ -8,9 +8,9 @@ class ProductsController < ApplicationController
end end
def create def create
@transgression = Product.new(product_params) @product = Product.new(product_params)
if @transgression.save if @product.save
redirect_to products_path redirect_to products_path
else else
render :new render :new

Loading…
Cancel
Save