Skip to content

Commit

Permalink
Renamed incorrect RemoveRobots extension method
Browse files Browse the repository at this point in the history
  • Loading branch information
callumbwhyte authored Feb 27, 2022
1 parent 0b70e74 commit c22be6e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static void RegisterRobots<T>(this Composition composition, string path)
.Add<T>(path);
}

public static void RegisterRobots(this Composition composition, string path)
public static void RemoveRobots(this Composition composition, string path)
{
composition.WithCollectionBuilder<RobotsCollectionBuilder>()
.Remove(path);
Expand Down

0 comments on commit c22be6e

Please sign in to comment.