Method: Auctify::BidsController#create
- Defined in:
- app/controllers/auctify/bids_controller.rb
#create ⇒ Object
POST /bids
28 29 30 31 32 33 34 35 36 |
# File 'app/controllers/auctify/bids_controller.rb', line 28 def create @bid = Bid.new(bid_params) if @bid.save redirect_to @bid, notice: "Bid was successfully created." else render :new end end |