views:

18

answers:

1

My file upload is working fine on IE.

But it's returning "406 not acceptable" error on firefox.

Any solution?

A: 

This worked for me.

before_filter :login_required, :except=>[:new, :create]
krunal shah