Open MarceloCajueiro opened 11 years ago
Hello,
I'm working in a sinatra app, passing the parameters through a form, and when we pass a empty code, guillotine tries to create a url in the root path.
guillotine
To avoid things like:
params[:code] = nil if params[:code] == ""
Can we improve the guillotine to ignore empty code?
Hello,
I'm working in a sinatra app, passing the parameters through a form, and when we pass a empty code,
guillotine
tries to create a url in the root path.To avoid things like:
Can we improve the
guillotine
to ignore empty code?