Update routes.rb

Make it rails 4 compatible (code from netzke master)