Fixed Routes.rb to accept details