title: How can I pass a String as a model to a View in MVC 5?
body: <p>I have an action defined like this:</p>
  
  <pre><code>    public ActionResult TempOutput(string model)
      {
          return View(model);
      }
  </code></pre>
  
  <p>And also, I have its view defined like this:</p>
  
  <pre><code>@model String
  
  @{
      ViewBag.Title = "TempOutput";
  }
  
  &lt;h2&gt;TempOutput&lt;/h2&gt;
  
  &lt;p&gt;@Model&lt;/p&gt;
  </code></pre>
  
  <p>Then, at one place, I have a return statement like this:</p>
  
  <pre><code>return RedirectToAction("TempOutput", "SEO", new { model = "Tester text" });
  </code></pre>
  
  <p>And the point is that when I get to my TempOutput view I get an error message saying "The view 'Tester text' or its master was not found or no view engine supports the searched locations.". But I jsut want to print the value of the string inside my view. How can I achieve it?</p>