Commit 6b1e13717ccabadb7a2cd5680022a2f116724300
1 parent
3aa09cbd
Exists in
staging
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 | 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 | ... | ... |