title: Ruby on Rails, No template for interactive request
body: <p><a href="https://i.stack.imgur.com/roT9c.png" rel="nofollow noreferrer">enter image description here</a></p>
  
  <p>I previously run the</p>
  
  <pre><code>rails generate controller Welcome index
  </code></pre>
  
  <p>command on terminal and just directly run the server, but this error message keep occuring:</p>
  
  <blockquote>
    <p>No template for interactive request<br>
    WelcomeController#index is missing a template for request formats: text/html</p>
  </blockquote>
  
  <p>I have tried looking for solutions but none can resolve the issue.</p>
  
  <p>These are the file path
  <a href="https://i.stack.imgur.com/8DCzh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8DCzh.png" alt="enter image description here"></a></p>
  
  <p>and inside it only contains:</p>
  
  <h1>Hello,Rails!</h1>