Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug fixes

A wrong if statement causing infinite loop
The welcome screen view not consistent with the BlogConfig Model
  • Loading branch information...
commit 234df03f63639651d240b1244ed78cf4e2115a98 1 parent a953b6a
@asapostolov authored
View
2  RaccoonBlog.Web/Controllers/RaccoonController.cs
@@ -27,7 +27,7 @@ public BlogConfig BlogConfig
blogConfig = RavenSession.Load<BlogConfig>("Blog/Config");
}
- if (blogConfig == null && "welcome".Equals((string)RouteData.Values["controller"], StringComparison.OrdinalIgnoreCase)) // first launch
+ if (blogConfig == null && !"welcome".Equals((string)RouteData.Values["controller"], StringComparison.OrdinalIgnoreCase)) // first launch
{
HttpContext.Response.Redirect("/welcome", true);
}
View
1  RaccoonBlog.Web/Views/Welcome/Index.cshtml
@@ -92,6 +92,7 @@
@Html.TextBoxFor(model => model.MetaDescription)
@Html.ValidationMessageFor(model => model.MetaDescription)
</div>
+ @Html.HiddenFor(model => model.RssFuturePostsKey)
<p>
<input type="submit" value="Setup my blog" />
Please sign in to comment.
Something went wrong with that request. Please try again.