Commit fadf46e612323e5f0746cc4f54d134af21960b6b

Authored by Leandro Santos
2 parents ef74363a a7a81940
Exists in production

Merge branch 'staging' into production

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
lib/noosfero/api/v1/articles.rb
@@ -134,8 +134,7 @@ module Noosfero @@ -134,8 +134,7 @@ module Noosfero
134 134
135 #FIXME refactor this method 135 #FIXME refactor this method
136 get 'voted_by_me' do 136 get 'voted_by_me' do
137 - present_articles_paginated(current_person.votes.collect(&:voteable))  
138 -# present_articles(current_person, 'following_articles') 137 + present_articles_paginated(current_person.votes.where(:voteable_type => 'Article').collect(&:voteable))
139 end 138 end
140 139
141 desc 'Perform a vote on a article by id' do 140 desc 'Perform a vote on a article by id' do