Paths bugfixes

Goodbye root_path, hello base_url.