You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sam Ruby <ru...@apache.org> on 2016/02/15 02:04:13 UTC

[whimsy.git] [1/1] Commit e49038a: fix variable name

Commit e49038af3fbb73ccea6bc7d8f75090a8dcf893d5:
    fix variable name


Branch: refs/heads/master
Author: Sam Ruby <ru...@intertwingly.net>
Committer: Sam Ruby <ru...@intertwingly.net>
Pusher: rubys <ru...@apache.org>

------------------------------------------------------------
www/roster/views/actions/committee.json.rb                   | ++ --
------------------------------------------------------------
4 changes: 2 additions, 2 deletions.
------------------------------------------------------------


diff --git a/www/roster/views/actions/committee.json.rb b/www/roster/views/actions/committee.json.rb
index 505f644..c567257 100644
--- a/www/roster/views/actions/committee.json.rb
+++ b/www/roster/views/actions/committee.json.rb
@@ -3,10 +3,10 @@
     pmc = ASF::Committee.find(@pmc) if @targets.include? 'pmc'
     group = ASF::Group.find(@pmc) if @targets.include? 'commit'
 
-    if action == 'add'
+    if @action == 'add'
       pmc.add(@person) if pmc
       group.add(@person) if group
-    elsif action == 'remove'
+    elsif @action == 'remove'
       pmc.remove(@person) if pmc
       group.remove(@person) if group
     end