title: Airflow plugins, RBAC enabled Blueprint not working
body: <p>We had our Airflow custom UI based on this <a href="https://tech.marksblogg.com/install-and-configure-apache-airflow.html" rel="noreferrer">link</a> and it was working fine with Airflow 1.9.0. 
  Following this we upgraded to 1.10.1 and also enabled RBAC. Our custom UI stopped coming after this.</p>
  
  <p>We followed this explanation <a href="https://airflow.apache.org/plugins.html?highlight=plugins#note-on-role-based-views" rel="noreferrer">note-on-role-based-views</a> and tried to use our old UI templates with appbuilder_views. On the using the TestAppBuilderBaseView from /tests/plugins/test_plugin.py,</p>
  
  <pre><code>class TestAppBuilderBaseView(AppBuilderBaseView):
  @expose("/")
  def test(self):
      return self.render("test_plugin/test.html", content="Hello galaxy!")
  </code></pre>
  
  <p>we get the menu and the link, but on clicking we get the error </p>
  
  <blockquote>
    <p>object has no attribute 'render'</p>
  </blockquote>
  
  <p>On changing this to </p>
  
  <pre><code>return self.render_template("test_plugin/test.html",content="Hello galaxy!")
  </code></pre>
  
  <p>we get the error </p>
  
  <blockquote>
    <p>jinja2.exceptions.TemplateNotFound: test_plugin/test.html</p>
  </blockquote>
  
  <p>I have tried all possible combination placing the templates folder and the html file, but still its the same error.</p>
  
  <p>I do find some forums telling to enable debug on Blueprint. but I am not aware on how you can do that with Airflow </p>
  
  <p>Any guidance on this please?.<br/><br/>
  Thanks in Advance<br/> 
  Jeenson</p>