changed application.rb and routes.rb