Created
January 22, 2009 21:25
-
-
Save mattpolito/50726 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def new | |
@product_request = ProductRequest.new | |
@ps = ProductSpecification.find(params[:spec]) | |
@product_request.height = @ps.height | |
@product_request.width = @ps.width | |
respond_to do |format| | |
format.html # new.html.erb | |
format.xml { render :xml => @product_request } | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment