Revert routing changes for Rails 4 compatibility, this has broken the current release. Reopens #24.