WIP
This commit is contained in:
parent
ab8d25dec2
commit
f5cbca1f26
2 changed files with 6 additions and 2 deletions
5
app/controllers/widget_controller.rb
Normal file
5
app/controllers/widget_controller.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class WidgetController < ApplicationController
|
||||
def v2
|
||||
redirect_to(asset_pack_url("donate-button-v2.js"))
|
||||
end
|
||||
end
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue