lib/stackprof-webnav/server.rb in stackprof-webnav-1.0.0 vs lib/stackprof-webnav/server.rb in stackprof-webnav-1.0.1
- old
+ new
@@ -27,10 +27,10 @@
haml :error
end
before do
unless request.path_info == '/'
- if params[:dump] != current_dump.path
+ if params[:dump] && params[:dump] != current_dump.path
current_dump.path = params[:dump]
end
end
end