added raltive url config to application.rb