This patch fixes bug in application.js, when GET '/pools/show/viewstate' cannot be
used,
because it won't work when you run app w/ some prefix in URL like /conductor.
So I've replaced method 'setupToogleTypeViewUrl' with
'setupPrettyFilterURL' in application.js
and this function are called in partials of pools#show's tabs.