Skip to content

Commit

Permalink
document check_url_dupe.json for #1106
Browse files Browse the repository at this point in the history
  • Loading branch information
pushcx committed Jul 20, 2022
1 parent c2c82be commit d75dcbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/stories_controller.rb
Expand Up @@ -373,6 +373,7 @@ def check_url_dupe
return render :partial => "stories/form_errors", :layout => false,
:content_type => "text/html", :locals => { :story => @story }
}
# json: https://github.com/lobsters/lobsters/pull/555
format.json {
similar_stories = @story.public_similar_stories(@user).map(&:as_json)

Expand Down

0 comments on commit d75dcbf

Please sign in to comment.