Fixed an issue with routes.rb file