You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/07/22 04:36:42 UTC

[whimsy] branch master updated: correct target URL

This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new b628710  correct target URL
b628710 is described below

commit b628710350a9b206d40818c087cc80e369cd57a9
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Fri Jul 21 22:36:30 2017 -0600

    correct target URL
---
 www/roster/views/pmc/add.js.rb | 2 +-
 www/roster/views/pmc/mod.js.rb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/roster/views/pmc/add.js.rb b/www/roster/views/pmc/add.js.rb
index 632cedc..75fb36c 100644
--- a/www/roster/views/pmc/add.js.rb
+++ b/www/roster/views/pmc/add.js.rb
@@ -102,7 +102,7 @@ class PMCAdd < React
 
     @disabled = true
     Polyfill.require(%w(Promise fetch)) do
-      fetch("actions/#{@@action}", args).then {|response|
+      fetch("actions/committee", args).then {|response|
         content_type = response.headers.get('content-type') || ''
         if response.status == 200 and content_type.include? 'json'
           response.json().then do |json|
diff --git a/www/roster/views/pmc/mod.js.rb b/www/roster/views/pmc/mod.js.rb
index e427a1f..def1f83 100644
--- a/www/roster/views/pmc/mod.js.rb
+++ b/www/roster/views/pmc/mod.js.rb
@@ -108,7 +108,7 @@ class PMCMod < React
 
     @disabled = true
     Polyfill.require(%w(Promise fetch)) do
-      fetch("actions/#{@@action}", args).then {|response|
+      fetch("actions/committee", args).then {|response|
         content_type = response.headers.get('content-type') || ''
         if response.status == 200 and content_type.include? 'json'
           response.json().then do |json|

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].