This commit is contained in:
Eric Schultz 2019-11-14 14:21:53 -06:00 committed by Eric Schultz
parent ab8d25dec2
commit f5cbca1f26
2 changed files with 6 additions and 2 deletions

View file

@ -0,0 +1,5 @@
class WidgetController < ApplicationController
def v2
redirect_to(asset_pack_url("donate-button-v2.js"))
end
end

View file

@ -257,7 +257,6 @@ Rails.application.routes.draw do
get '/static/terms_and_privacy' => 'static#terms_and_privacy'
get '/static/ccs' => 'static#ccs'
get '/js/donate-button.v2.js' => 'widget#v2'
root to: 'front#index'
end