use root_path, instead of '/'

I mounted a gistub app on non root path (e.g. /gistub/), but some "/" was hardcoded. replaced it by root_path.