Skip to content

Commit

Permalink
Minimum runtime level should be "Boot" instead of just Run" so the co…
Browse files Browse the repository at this point in the history
…mposer is also registered during Umbraco upgrades (fixes #53)
  • Loading branch information
abjerner committed Jul 6, 2019
1 parent 62b6cfd commit 6aac9c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Skybrud.Umbraco.Redirects/Composers/RedirectsComposer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

namespace Skybrud.Umbraco.Redirects.Composers {

[RuntimeLevel(MinLevel = RuntimeLevel.Boot)]
public class RedirectsComposer : IUserComposer {

public void Compose(Composition composition)
{
public void Compose(Composition composition) {
composition.Register<IRedirectsService, RedirectsService>();
composition.Register<RedirectsInjectedModule, RedirectsInjectedModule>();
}
Expand Down

0 comments on commit 6aac9c3

Please sign in to comment.