Commit 6452270ef6c21d5eb156f55672aa08ed14f24e52
1 parent
b31d1bc6
Exists in
master
change module name
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/dialoga_plugin/api.rb
@@ -5,7 +5,7 @@ class DialogaPlugin::API < Grape::API | @@ -5,7 +5,7 @@ class DialogaPlugin::API < Grape::API | ||
5 | discussion = ProposalsDiscussionPlugin::Discussion.find(params[:discussion_id]) | 5 | discussion = ProposalsDiscussionPlugin::Discussion.find(params[:discussion_id]) |
6 | 6 | ||
7 | # render articles using Entity Article | 7 | # render articles using Entity Article |
8 | - present discussion.random_topics_one_by_category, :with => Noosfero::API::Entities::Article, :fields => params[:fields] | 8 | + present discussion.random_topics_one_by_category, :with => Api::Entities::Article, :fields => params[:fields] |
9 | end | 9 | end |
10 | end | 10 | end |
11 | 11 |