def show
@changeset = Changeset.find(params[:id])
@include_discussion = params[:include_discussion].presence
- render "changesets/changeset"
+ render "changeset"
end
##
# will include the bigger bounding box.
cs.save!
@changeset = cs
- render "changesets/changeset"
+ render "changeset"
end
##
# preload users, tags and comments, and render result
@changesets = changesets.preload(:user, :changeset_tags, :comments)
- render "changesets/changesets"
+ render "changesets"
end
##
check_changeset_consistency(@changeset, current_user)
@changeset.update_from(new_changeset, current_user)
- render "changesets/changeset"
+ render "changeset"
end
##
# Return a copy of the updated changeset
@changeset = changeset
- render "changesets/changeset"
+ render "changeset"
end
##
# Return a copy of the updated changeset
@changeset = changeset
- render "changesets/changeset"
+ render "changeset"
end
private