Fixed bug in MVC sample.
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Sample.Mvc.Controllers
|
||||
{
|
||||
public RavenController(IAsyncDocumentSession dbSession)
|
||||
{
|
||||
this.DbSession = DbSession;
|
||||
this.DbSession = dbSession;
|
||||
|
||||
// RavenDB best practice: during save, wait for the indexes to update.
|
||||
// This way, Post-Redirect-Get scenarios won't be affected by stale indexes.
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
ViewData["Title"] = "Sign in";
|
||||
}
|
||||
|
||||
<h1>Hi! Please sign in. (Not registered? <a href="/account/register">Register here</a>.)</h1>
|
||||
<h1>Hi! Please sign in</h1>
|
||||
<p>Not registered? <a href="/account/register">Register here</a>.</p>
|
||||
|
||||
<form action="/account/signin" method="post">
|
||||
<div class="form-group">
|
||||
|
||||
Reference in New Issue
Block a user