Commit c42ac8b4170fe9576274fc661e0df075e50137d2

Authored by Leandro Santos
Committed by Rodrigo Souto
1 parent 674fe0a5

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 38  
39 39 desc "Return the article id"
40 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 42 end
43 43  
44 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 46 end
47 47  
48 48 get ':id/children/:child_id' do
... ...