15 May 2014, 21:39
Kontextual photo 3 square_pragsmall

Benjamin Blackmer (1 post)

Started in Chapter 10 of Agile Web Dev with Rails 4.0.

I think it has something to do with the store_url, but I’m not sure.

Error says the following:


59 60 61 62 63 64

session[:cart_id] = nil
respond_to do |format|
  format.html { redirect_to store_url, notice: 'Your cart is currently empty' }
  format.json { head :no_content }
end   end ---

Anyone run into this before?

24 Jul 2014, 14:44
Generic-user-small

Janardhan Ketepalle (1 post)

Use store_index_url, it worked for me.

  You must be logged in to comment