Commit c42ac8b4170fe9576274fc661e0df075e50137d2
Committed by
Rodrigo Souto
1 parent
674fe0a5
Exists in
api_tasks
and in
4 other branches
removing aditional comma
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
lib/api/v1/articles.rb
@@ -38,11 +38,11 @@ module API | @@ -38,11 +38,11 @@ module API | ||
38 | 38 | ||
39 | desc "Return the article id" | 39 | desc "Return the article id" |
40 | get ':id' do | 40 | get ':id' do |
41 | - present environment.articles.find(params[:id]), , :with => Entities::Article | 41 | + present environment.articles.find(params[:id]), :with => Entities::Article |
42 | end | 42 | end |
43 | 43 | ||
44 | get ':id/children' do | 44 | get ':id/children' do |
45 | - present environment.articles.find(params[:id]).children.find(:all, :limit => limit), , :with => Entities::Article | 45 | + present environment.articles.find(params[:id]).children.find(:all, :limit => limit), :with => Entities::Article |
46 | end | 46 | end |
47 | 47 | ||
48 | get ':id/children/:child_id' do | 48 | get ':id/children/:child_id' do |