Commit 4d5aaa3599f3dd23c7bca41e66aa7a4ce90824ac

Authored by Leandro Santos
1 parent 3d50338b
Exists in master

change module name

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/proposals_discussion_plugin/api.rb
... ... @@ -6,7 +6,7 @@ class ProposalsDiscussionPlugin::API < Grape::API
6 6 get ':id/ranking' do
7 7 article = find_article(environment.articles, params[:id])
8 8 current_page = paginate(article.ranking)
9   - present(current_page, :with => Noosfero::API::Entities::RankingItem)
  9 + present(current_page, :with => Api::Entities::RankingItem)
10 10 #FIXME find a better way to get updated_at date
11 11 present :updated_at, current_page.blank? ? DateTime.now : current_page.first.updated_at
12 12 end
... ...