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 fa9c4da  route request correctly
fa9c4da is described below

commit fa9c4dafd0abea83e6e88b1121d72623f033a159
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sun Aug 6 08:34:50 2017 -0400

    route request correctly
---
 www/roster/views/ppmc/add.js.rb | 2 +-
 www/roster/views/ppmc/mod.js.rb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/roster/views/ppmc/add.js.rb b/www/roster/views/ppmc/add.js.rb
index b8ca433..cc108e8 100644
--- a/www/roster/views/ppmc/add.js.rb
+++ b/www/roster/views/ppmc/add.js.rb
@@ -113,7 +113,7 @@ class PPMCAdd < React
 
     @disabled = true
     Polyfill.require(%w(Promise fetch)) do
-      fetch("actions/committee", args).then {|response|
+      fetch("actions/ppmc", 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/ppmc/mod.js.rb b/www/roster/views/ppmc/mod.js.rb
index 3c64b21..1d1b74e 100644
--- a/www/roster/views/ppmc/mod.js.rb
+++ b/www/roster/views/ppmc/mod.js.rb
@@ -126,7 +126,7 @@ class PPMCMod < React
 
     @disabled = true
     Polyfill.require(%w(Promise fetch)) do
-      fetch("actions/committee", args).then {|response|
+      fetch("actions/ppmc", 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" <commits@whimsical.apache.org>'].

Reply via email to