X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/538bfed8a61a576e44d8cc71d7727c0310bcf238..874fddf49945443e5af47812fa3a30e96375ce9c:/app/controllers/api/changesets_controller.rb diff --git a/app/controllers/api/changesets_controller.rb b/app/controllers/api/changesets_controller.rb index 92690a75e..dd43f7ed0 100644 --- a/app/controllers/api/changesets_controller.rb +++ b/app/controllers/api/changesets_controller.rb @@ -43,7 +43,7 @@ module Api def show @changeset = Changeset.find(params[:id]) @include_discussion = params[:include_discussion].presence - render "changesets/changeset" + render "changeset" end ## @@ -105,7 +105,7 @@ module Api # will include the bigger bounding box. cs.save! @changeset = cs - render "changesets/changeset" + render "changeset" end ## @@ -222,7 +222,7 @@ module Api # preload users, tags and comments, and render result @changesets = changesets.preload(:user, :changeset_tags, :comments) - render "changesets/changesets" + render "changesets" end ## @@ -242,7 +242,7 @@ module Api check_changeset_consistency(@changeset, current_user) @changeset.update_from(new_changeset, current_user) - render "changesets/changeset" + render "changeset" end ## @@ -263,7 +263,7 @@ module Api # Return a copy of the updated changeset @changeset = changeset - render "changesets/changeset" + render "changeset" end ## @@ -284,7 +284,7 @@ module Api # Return a copy of the updated changeset @changeset = changeset - render "changesets/changeset" + render "changeset" end private