Skip to content

Commit

Permalink
Disable method ActsAsVotable::Voter.vote
Browse files Browse the repository at this point in the history
  • Loading branch information
jrabatel committed Oct 30, 2013
1 parent 1d2e387 commit 3c294ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/acts_as_votable/voter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ def votables

end

# voting
def vote args
args[:votable].vote args.merge({:voter => self})
end
# # voting
# def vote args
# args[:votable].vote args.merge({:voter => self})
# end

def vote_up_for model=nil, args={}
vote :votable => model, :vote_scope => args[:vote_scope], :vote => true
Expand Down

0 comments on commit 3c294ba

Please sign in to comment.