Fix access to paths variable

According to the docs[0], `paths` is a Hash.

Fixes #4.

[0]: http://edgeapi.rubyonrails.org/classes/Rails/Paths.html