title: 404 when accessing resource Flask-Restful
body: <pre><code>from flask import g, request, session, render_template, flash, redirect, url_for
  from flask import current_app as app
  
  @app.route('/')
  def home():
      return 'this works'
  
  
  from flask_restful import Resource, Api
  from app.extensions import api
  
  
  class HelloWorld(Resource):
      def get(self):
          return {'Hello': 'World'}
  
  api.add_resource(HelloWorld, '/test')  # Getting a 404 for this route on http://127.0.0.1:5000/test
  </code></pre>
  
  <p>Extensions sets up the api variable: </p>
  
  <pre><code>api = Api()
  api.init_app(app)
  </code></pre>
  
  <p>I cannot figure out why I get a 404 when trying to access an api resource?</p>