From c22be6eaa887d984610668d3b09675e17f07669a Mon Sep 17 00:00:00 2001 From: Callum Whyte Date: Sun, 27 Feb 2022 12:27:20 +0000 Subject: [PATCH] Renamed incorrect RemoveRobots extension method --- CHANGELOG.md | 7 ++++++- .../Composing/CompositionExtensions.cs | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a93be42..7435f01 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/) and this project adheres to [Semantic Versioning](https://semver.org/). +## [1.2.2] - 2022-02-27 +### Changed +* Renamed incorrect `RemoveRobots` extension method + ## [1.2.1] - 2021-06-29 ### Changed * Default `IRobotsBuilder` implementations are public to improve extensibility @@ -34,7 +38,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/) and this ### Added * Initial release of Friendly Robots for Umbraco 8.1 -[Unreleased]: https://github.com/callumbwhyte/friendly-robots/compare/release-1.2.1...HEAD +[Unreleased]: https://github.com/callumbwhyte/friendly-robots/compare/release-1.2.2...HEAD +[1.2.2]: https://github.com/callumbwhyte/friendly-robots/compare/release-1.2.1...release-1.2.2 [1.2.1]: https://github.com/callumbwhyte/friendly-robots/compare/release-1.2.0...release-1.2.1 [1.2.0]: https://github.com/callumbwhyte/friendly-robots/compare/release-1.1.0...release-1.2.0 [1.1.0]: https://github.com/callumbwhyte/friendly-robots/compare/release-1.0.0...release-1.1.0 diff --git a/src/Our.Umbraco.FriendlyRobots/Composing/CompositionExtensions.cs b/src/Our.Umbraco.FriendlyRobots/Composing/CompositionExtensions.cs index 60f52bc..280a33c 100644 --- a/src/Our.Umbraco.FriendlyRobots/Composing/CompositionExtensions.cs +++ b/src/Our.Umbraco.FriendlyRobots/Composing/CompositionExtensions.cs @@ -12,7 +12,7 @@ public static void RegisterRobots(this Composition composition, string path) .Add(path); } - public static void RegisterRobots(this Composition composition, string path) + public static void RemoveRobots(this Composition composition, string path) { composition.WithCollectionBuilder() .Remove(path);