- Include `patch` HTTP verb in `update` route.
- Parameters ~~view~~, ~~request~~ has been removed
python
class HomeController:
def index(self, view, request):
return view("index.html")
Now, you can import `render_template` and `request` directly of flask package.
python
from flask import render_template
class HomeController:
def index(self):
return render_template("index.html")
- Enhancement of unit tests