Rails 4 routing fix.
Merge pull request #20 from benubois/rails_4

Rails 4 routing fix.